mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2025-02-17 01:17:54 +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(
|
player = self._parse_json(
|
||||||
self._search_regex(
|
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'),
|
webpage, 'options', group='value'),
|
||||||
video_id)
|
video_id)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user