xvideos resulting in 404
See original GitHub issueChecklist
- I’m reporting a broken site support
- I’ve verified that I’m running youtube-dl version 2021.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
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.xvideos.com/video64651723/18yo_youtuber_gets_horny_watching_hentai_during_the_stream_and_masturbates_-_emma_fiore']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.9.2 (CPython) - Linux-5.10.0-6parrot1-amd64-x86_64-with-glibc2.31
[debug] exe versions: ffmpeg 4.3.2-0, ffprobe 4.3.2-0, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[XVideos] 64651723: 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; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 634, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 2288, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python3.9/urllib/request.py", line 523, in open
response = meth(req, response)
File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
response = self.parent.error(
File "/usr/lib/python3.9/urllib/request.py", line 561, in error
return self._call_chain(*args)
File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
Description
Tried downloading several different videos from this site over the course of the past week. All have resulted in 404, whereas previously, videos have been able to be downloaded from this site without error in the recent past. Confirmed that URLs used are able to be viewed in a web browser without error. Verified youtube-dl version. Updated to 2021.06.06. Tried again with no change in results. Searched github issues for similar posts. Found only one that was locked as off topic. I do not understand the nature of that particular topic being locked, so if I am making a mistake by posting this issue, please forgive me. The site is listed in the sites supported by youtube-dl at https://github.com/ytdl-org/youtube-dl/blob/master/docs/supportedsites.md
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:12 (5 by maintainers)

Top Related StackOverflow Question
The site no longer understands URLs ending in
video{video_id}/. Apparently we just have to add some final component:[Update] Patch instructions for Unix-like systems not using a single file self-extracting archive (ie
ls -l $(which youtube-dl)shows a file <1kB, not >1.5MB):find the installation directory where the file
YoutubeDL.pyis;save the patch from this post (from the first
---including the last:), say30271.patch;become admin (eg,
sudo -i);then:
Very careful patchers whose
patchsupports these options may like to run the command adding--dry-run --verbosefirst to verify the patch.Fix in macOS installed with Homebrew
Edit the file
Find the line with the following code:
Replace it with this