]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/joj.py
New upstream version 2019.09.01
[youtubedl] / youtube_dl / extractor / joj.py
index d9f8dbfd240db90fac3ddcfd23dd76d095cef52a..62b28e9809856abaca23c4690c4670cacc96965a 100644 (file)
@@ -61,7 +61,7 @@ class JojIE(InfoExtractor):
 \r
         bitrates = self._parse_json(\r
             self._search_regex(\r
 \r
         bitrates = self._parse_json(\r
             self._search_regex(\r
-                r'(?s)bitrates\s*=\s*({.+?});', webpage, 'bitrates',\r
+                r'(?s)(?:src|bitrates)\s*=\s*({.+?});', webpage, 'bitrates',\r
                 default='{}'),\r
             video_id, transform_source=js_to_json, fatal=False)\r
 \r
                 default='{}'),\r
             video_id, transform_source=js_to_json, fatal=False)\r
 \r