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 video URL invalid / No video formats found. #25586

Closed
a-raccoon opened this issue Jun 8, 2020 · 5 comments
Closed

Bitchute video URL invalid / No video formats found. #25586

a-raccoon opened this issue Jun 8, 2020 · 5 comments

Comments

@a-raccoon
Copy link

@a-raccoon a-raccoon commented Jun 8, 2020

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.06.06
  • 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

>youtube-dl -v "https://www.bitchute.com/video/YZITyNc9QPc/"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.bitchute.com/video/YZITyNc9QPc/']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.06.06
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2
[debug] Proxy map: {}
[BitChute] YZITyNc9QPc: Downloading webpage
[BitChute] YZITyNc9QPc: Checking video URL
[BitChute] YZITyNc9QPc: video URL is invalid, skipping
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpd0boo4lk\build\youtube_dl\YoutubeDL.py", line 797, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpd0boo4lk\build\youtube_dl\extractor\common.py", line 530, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpd0boo4lk\build\youtube_dl\extractor\bitchute.py", line 66, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpd0boo4lk\build\youtube_dl\extractor\common.py", line 1350, in _sort_formats
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

The site Bitchute doesn't appear to download. The error staets "video URL is invalid, skipping" and "No video formats found."

Test with https://www.bitchute.com/video/YZITyNc9QPc/

@dstftw dstftw closed this Jun 8, 2020
@a-raccoon
Copy link
Author

@a-raccoon a-raccoon commented Jun 8, 2020

@dstftw if this can't be reproduced, what issue might I be experiencing per the debug logs?

@TegraMorgan
Copy link

@TegraMorgan TegraMorgan commented Jun 9, 2020

I have the same issue here

@TegraMorgan
Copy link

@TegraMorgan TegraMorgan commented Jun 9, 2020

@dstftw I'll try to see by myself what I can do. Can you get me in contact with person who originally added support for bitchute?

@bughit
Copy link

@bughit bughit commented Jun 10, 2020

@ytdl-org @dstftw Why is it necessary to close issues that are clearly real, just because a repro attempt fails? There are any number of reasons for a repro failure, geo content differences, os differences, python version differences.

I examined the dumped page youtube-dl -v -F https://www.bitchute.com/video/gbOENCFP0wfP/ --write-pages --print-traffic

The extractor File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpd0boo4lk\build\youtube_dl\extractor\bitchute.py", line 66, in _real_extract is first looking for addWebSeed

format_urls = []
for mobj in re.finditer(
r'addWebSeed\s*\(\s*(["\'])(?P<url>(?:(?!\1).)+)\1', webpage):
format_urls.append(mobj.group('url'))
format_urls.extend(re.findall(r'as=(https?://[^&"\']+)', webpage))

which is missing, then falls back to _parse_html5_media_entries

if not formats:
formats = self._parse_html5_media_entries(
url, webpage, video_id)[0]['formats']

there is a <video> element in the page

<div class="wrapper">
<video id="player" ratio="16x9" width="100%" poster="https://static-3.bitchute.com/live/cover_images/1VBwRfyNcKdX/gbOENCFP0wfP_640x360.jpg" onplay="$('#loader-container').fadeOut('slow');" controls>
<source src="https://seed163.bitchute.com/1VBwRfyNcKdX/gbOENCFP0wfP.mp4" type="video/mp4" />
</video>
<div id="autoplay-details" class="hidden">
<div class="title">Next video playing soon</div>
<div class="timer"><div class="spinner"><div class="pie"></div></div><div class="filler pie"></div><div class="mask"></div></div>
<div class="dismiss">Click to cancel</div>
</div>
</div>

but evidently _parse_html5_media_entries fails to extract the url/format from it.

@a-raccoon
Copy link
Author

@a-raccoon a-raccoon commented Jun 10, 2020

@bughit don't be too harsh on @dstftw, I've developed myself a reputation because of #25068

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
4 participants
You can’t perform that action at this time.