Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bitchute] not able to download some videos #22791

Open
PSlava opened this issue Oct 21, 2019 · 1 comment
Open

[bitchute] not able to download some videos #22791

PSlava opened this issue Oct 21, 2019 · 1 comment

Comments

@PSlava
Copy link

@PSlava PSlava commented Oct 21, 2019

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2019.10.16
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

bash-3.2$ ./youtube-dl -v https://www.bitchute.com/video/0qMc7O3mValu/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.bitchute.com/video/0qMc7O3mValu/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.10.16
[debug] Python version 2.7.10 (CPython) - Darwin-18.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.1.4
[debug] Proxy map: {}
[BitChute] 0qMc7O3mValu: Downloading webpage
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "./youtube-dl/main.py", line 19, in
File "./youtube-dl/youtube_dl/init.py", line 474, in main
File "./youtube-dl/youtube_dl/init.py", line 464, in _real_main
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 2018, in download
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
File "./youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
File "./youtube-dl/youtube_dl/extractor/bitchute.py", line 61, in _real_extract
IndexError: list index out of range

Description

Not able to download some videos from Bitchute.

@InfernalUnderling
Copy link
Contributor

@InfernalUnderling InfernalUnderling commented Nov 28, 2019

Just so this info is easily viewable, some videos on bitchute are actually embeds from "rumble.com". The one in this case is "https://rumble.com/embed/ufe9n.v5pv5f/?rel=0"

It looks like instead of having:

<div class="plyr plyr--full-ui plyr--video plyr--html5 plyr--paused plyr--stopped plyr--fullscreen-enabled plyr__poster-enabled">

These embedded videos have:

<iframe class="rumble" ratio="16x9" src="https://rumble.com/embed/ufe9n.v5pv5f/?rel=0" allowfullscreen="" style="height: 180.563px;" width="100%" frameborder="0">

So finding the source of the videos is easy, but the generic extractor can't grab the video on its own. Thus, in addition to adding rumble detection to the bitchute extractor, someone will likely need to make an extractor for rumble.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.