Browse Source

[joj] Fix extraction (closes #18280)

Alexander Seiler 6 years ago
parent
commit
d19600df07
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/joj.py

+ 1 - 1
youtube_dl/extractor/joj.py

@@ -61,7 +61,7 @@ class JojIE(InfoExtractor):
 
         bitrates = self._parse_json(
             self._search_regex(
-                r'(?s)bitrates\s*=\s*({.+?});', webpage, 'bitrates',
+                r'(?s)(?:src|bitrates)\s*=\s*({.+?});', webpage, 'bitrates',
                 default='{}'),
             video_id, transform_source=js_to_json, fatal=False)