Browse Source

[bitchute] Extract HTML5 formats (closes #21306)

master
Sergey M․ 6 years ago
parent
commit
4c78c3d700
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      youtube_dl/extractor/bitchute.py

+ 5
- 0
youtube_dl/extractor/bitchute.py View File

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


Loading…
Cancel
Save