youtube-dl: [XVideos] HTTP Error 404: Not Found
Checklist
- I’m reporting a broken site support
- I’ve verified that I’m running youtube-dl version 2021.12.17
- 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
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--ignore-config', '--restrict-filenames', 'https://www.xvideos.com/video46439753/porn-de/0/premiere_fahrrad_in_der_offentlichkeit_geil_abgefickt_']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.8.10 (CPython) - Linux-5.4.0-100-generic-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4
[debug] Proxy map: {}
[XVideos] 46439753: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not 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.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 634, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2288, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/usr/lib/python3.8/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
Description
WRITE DESCRIPTION HERE
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 16 (4 by maintainers)
Like dirkf already mentioned,
pip install youtube-dl
won’t do it. Try the command that was posted:pip install https://github.com/ytdl-org/youtube-dl/archive/master.zip
.Failing that:
And then find the newly generated .exe inside
.\youtube-dl-master\dist\
.To generate a Windows bin, one needs to install Python, pip and pyinstaller together with any extra requirements. It looks like there’s no other way to run Python programs without getting Python involved at some point. It’s a pickle.
version information isn’t updated till a release is made. You can edit
version.py
manually.Tried with master, and xvideos works for me.
@garoto I was running youtube-dl from a single windows binary the whole time without using Python, aside with ffmpeg. No batteries required.
If there’s no way to download the binary, I could download all the requirements to compile it by myself just to delete everything and get back to my 2 single binaries.
@dirkf Funny part is that tried the pip install on win, which gives me the 2021.12.17 version, that version still has the issue 😛. Had to get inside extractors and change the base url to make it work. It works. But at what cost?.. X)
The Windows build will appear, with an actual release, as soon as the new maintainer can concentrate for the necessary period on making it happen.
Meanwhile don’t feel bad about the workaround. The self-extracting Windows build has to unpack all the files each time it runs, not just for yt-dl but the minimal Python build too. Whereas the other way, you end up with Python properly installed as well as yt-dl.
Wow dude, nobody asked you, so don’t get your nose too close.
Also, the build referenced in the Readme and the official webpage points to a compiled single file version of youtube-dl of ~2Mb with embeeded python, if your solution is to install python and then pip and then install literally 950 files, it’s a shitty workaround.
Getting back to my polite mode, @dirkf I can’t find instructions to build for windows, is there any guide that I can follow for that? Maybe I can help uploading builds for windows. Thanks in advance.