mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-23 00:54:31 +01:00
Update Aparat regex
This commit is contained in:
parent
6e903024e3
commit
35da0c4bb8
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user