1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 16:44:32 +01:00

Update Aparat regex

This commit is contained in:
Marwan Yassin 2020-03-15 05:57:24 +02:00 committed by GitHub
parent 6e903024e3
commit 35da0c4bb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ class AparatIE(InfoExtractor):
player = self._parse_json(
self._search_regex(
r'options\s*=\s*JSON\.parse\(\s*(["\'])(?P<value>(?:(?!\1).)+)\1\s*\)',
r'options\s*=\s*(?P<value>.*\w*\W*)\;',
webpage, 'options', group='value'),
video_id)