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

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

Closed
5 of 6 tasks
Quix0r opened this issue May 12, 2022 · 11 comments
Closed
5 of 6 tasks

Comments

@Quix0r
Copy link

Quix0r commented May 12, 2022

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.

@BreadJS
Copy link

BreadJS commented 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.

@dirkf
Copy link
Contributor

dirkf commented May 13, 2022

In OP's environment, just install the master branch:

python -m pip install 'https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz'

See https://adamj.eu/tech/2019/03/11/pip-install-from-a-git-repository/.

@dement6d

This comment was marked as off-topic.

@dirkf
Copy link
Contributor

dirkf commented May 13, 2022

Off-topic for this issue as Twitch != XVideos. Opened #30945 instead.

@afterdelight
Copy link
Contributor

i got this error with latest commit

E:\downloader\xvideos>youtube-dl -a xvideos_url.txt -o "%(playlist_id)s\%(title)s [%(id)s].%(ext)s" --embed-thumbnail --download-archive xvideos-downloaded.txt -r 1500k [generic] swaglive#_tabVideos: Requesting header WARNING: Falling back on generic information extractor. [generic] swaglive#_tabVideos: Downloading webpage [generic] swaglive#_tabVideos: Extracting information ERROR: Unsupported URL: https://www.xvideos.com/channels/swaglive#_tabVideos

@dirkf
Copy link
Contributor

dirkf commented Jun 1, 2022

This dev branch needs to be pulled.

@afterdelight
Copy link
Contributor

afterdelight commented Jun 1, 2022

then, can you pls merge it?

@br4nnigan
Copy link

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.

that works, how do I build the binaries though?

@selivan
Copy link

selivan commented Aug 18, 2022

Confirm the bug with xvideos.com exists and confirm it disappears after installing from master branch. I suppose the new release is due.

@BreadJS
Copy link

BreadJS commented Oct 3, 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.

that works, how do I build the binaries though?

Tbh, I did not figure that out yet.

@dirkf
Copy link
Contributor

dirkf commented Oct 29, 2022

See #30707.

@dirkf dirkf closed this as not planned Won't fix, can't repro, duplicate, stale Oct 29, 2022
@dirkf dirkf mentioned this issue Dec 29, 2022
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants