aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorAlexander Seiler <seileralex@gmail.com>2018-11-24 16:14:27 +0100
committerSergey M <dstftw@gmail.com>2018-11-24 22:14:27 +0700
commitd19600df07128c73ef7242af7e1cd8c819951aba (patch)
treef280e99201a4fec03785ad3dfd828e7824d1e740 /youtube_dl/extractor
parent641e86e3cf751f1050ca331b9d13152bd0e18558 (diff)
[joj] Fix extraction (closes #18280)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/joj.py2
1 files changed, 1 insertions, 1 deletions
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)