projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
641e86e
)
[joj] Fix extraction (closes #18280)
author
Alexander Seiler
<seileralex@gmail.com>
Sat, 24 Nov 2018 15:14:27 +0000
(16:14 +0100)
committer
Sergey M
<dstftw@gmail.com>
Sat, 24 Nov 2018 15:14:27 +0000
(22:14 +0700)
youtube_dl/extractor/joj.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/joj.py
b/youtube_dl/extractor/joj.py
index d9f8dbfd240db90fac3ddcfd23dd76d095cef52a..62b28e9809856abaca23c4690c4670cacc96965a 100644
(file)
--- a/
youtube_dl/extractor/joj.py
+++ b/
youtube_dl/extractor/joj.py
@@
-61,7
+61,7
@@
class JojIE(InfoExtractor):
\r
bitrates = self._parse_json(
\r
self._search_regex(
\r
- r'(?s)
bitrates
\s*=\s*({.+?});', webpage, 'bitrates',
\r
+ r'(?s)
(?:src|bitrates)
\s*=\s*({.+?});', webpage, 'bitrates',
\r
default='{}'),
\r
video_id, transform_source=js_to_json, fatal=False)
\r
\r