1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-05-26 01:49:47 +08:00

Update Aparat regex

This commit is contained in:
Marwan Yassin
2020-03-15 05:57:24 +02:00
committed by GitHub
Unverified
parent 6e903024e3
commit 35da0c4bb8
+1 -1
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)