XVideos: ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by HTTPError())

See original GitHub issue

Checklist

  • I’m reporting a broken site support issue (do you mean with site a broken plugin?)
  • 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 bug reports including closed ones
  • I’ve read bugs section in FAQ

Verbose log

$ /opt/bin/youtube-dl --verbose https://www.xvideos.com/videoXXXXX/foo_bar_hey
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.xvideos.com/videoXXXXX/foo_bar_hey']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 2.7.18 (CPython) - Linux-5.10.0-8-amd64-x86_64-with-debian-11.0
[debug] exe versions: ffmpeg 4.4, ffprobe present, rtmpdump 2.4
[debug] Proxy map: {}
[XVideos] 32272009: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by HTTPError()); 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 "/opt/bin/youtube-dl/youtube_dl/extractor/common.py", line 634, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/opt/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2288, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
$

Description

I have tried to download a (any!) video from XVideos and it always fails with the above error message. For privacy reasons the URL in the log is obscured (to much intimacy would be exposed) but you can take ANY video URL from there.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
dirkfcommented, Jun 1, 2022

This dev branch needs to be pulled.

4reactions
OfficialDevvCatcommented, May 12, 2022

They have changed some things in the youtube_dl/extractor/xvideos.py file. They did not build new binaries since this fix. Clone the repo somewhere using git clone https://github.com/ytdl-org/youtube-dl (If this failed, please install git using sudo apt install git. Then browse to youtube_dl folder and do python __main__.py (if python command does not work, please try python3) and the the arguments. For you it’s --verbose https://www.xvideos.com/videoXXXXX/foo_bar_hey. Make sure to install python using sudo apt install python3.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I cant download xvideos using youtube-dl : r/youtubedl - Reddit
ERROR : Unable to download webpage: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug .
Read more >
Youtube-dl grabber plugin problem - Technical Support
ERROR : Unable to download webpage: HTTP Error 404: Not Found (caused by HTTPError ()); please report this issue on https://yt-dl.org/bug.
Read more >
youtube-dl error: "WARNING: unable to download video info ...
youtube-dl error: "WARNING: unable to download video info webpage: HTTP Error 404: Not Found". Please read and follow the Community Guidelines.
Read more >
Pytube givng an "HTTP Error 404: Not Found" error. Anyone ...
title) print("downloading...") video.streams.get_highest_resolution().download() print('Downloaded successfully!') The error: HTTPError(req ...
Read more >
Unable to download webpage: HTTP Error 404: Not Found ...
XVideos : ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by HTTPError()). Checklist. I ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found