diff --git a/youtube_dl/extractor/aparat.py b/youtube_dl/extractor/aparat.py index ebc28e1a4..de863a594 100644 --- a/youtube_dl/extractor/aparat.py +++ b/youtube_dl/extractor/aparat.py @@ -48,7 +48,7 @@ class AparatIE(InfoExtractor): player = self._parse_json( self._search_regex( - r'options\s*=\s*JSON\.parse\(\s*(["\'])(?P(?:(?!\1).)+)\1\s*\)', + r'options\s*=\s*(?P.*\w*\W*)\;', webpage, 'options', group='value'), video_id)