diff options
author | Alexander Seiler <seileralex@gmail.com> | 2018-11-24 16:14:27 +0100 |
---|---|---|
committer | Sergey M <dstftw@gmail.com> | 2018-11-24 22:14:27 +0700 |
commit | d19600df07128c73ef7242af7e1cd8c819951aba (patch) | |
tree | f280e99201a4fec03785ad3dfd828e7824d1e740 | |
parent | 641e86e3cf751f1050ca331b9d13152bd0e18558 (diff) |
[joj] Fix extraction (closes #18280)
-rw-r--r-- | youtube_dl/extractor/joj.py | 2 |
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)
|