projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e11e51
)
[bitchute] Extract HTML5 formats (closes #21306)
author
Sergey M․
<dstftw@gmail.com>
Fri, 7 Jun 2019 15:58:19 +0000
(22:58 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 7 Jun 2019 15:58:19 +0000
(22:58 +0700)
youtube_dl/extractor/bitchute.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/bitchute.py
b/youtube_dl/extractor/bitchute.py
index 1d69dafbd81e2ce5c82bd46633049d3ecec9f159..430663fbf93166a67ee1b7088a77831b59cd60f6 100644
(file)
--- a/
youtube_dl/extractor/bitchute.py
+++ b/
youtube_dl/extractor/bitchute.py
@@
-55,6
+55,11
@@
class BitChuteIE(InfoExtractor):
formats = [
{'url': format_url}
for format_url in orderedSet(format_urls)]
+
+ if not formats:
+ formats = self._parse_html5_media_entries(
+ url, webpage, video_id)[0]['formats']
+
self._check_formats(formats, video_id)
self._sort_formats(formats)