From: Alexander Seiler Date: Sat, 24 Nov 2018 15:14:27 +0000 (+0100) Subject: [joj] Fix extraction (closes #18280) X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=d19600df07128c73ef7242af7e1cd8c819951aba;p=youtube-dl [joj] Fix extraction (closes #18280) --- diff --git a/youtube_dl/extractor/joj.py b/youtube_dl/extractor/joj.py index d9f8dbfd2..62b28e980 100644 --- a/youtube_dl/extractor/joj.py +++ b/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)