[joj] Fix extraction (closes #18280)

pull/8/head
Alexander Seiler 6 years ago committed by Sergey M
parent 641e86e3cf
commit d19600df07

@ -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)

Loading…
Cancel
Save