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] HTTP Error 404: Not Found #30707

Closed
5 tasks done
ghost opened this issue Mar 2, 2022 · 16 comments
Closed
5 tasks done

[XVideos] HTTP Error 404: Not Found #30707

ghost opened this issue Mar 2, 2022 · 16 comments

Comments

@ghost
Copy link

ghost commented Mar 2, 2022

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

@dirkf
Copy link
Contributor

dirkf commented Mar 2, 2022

Duplicate of #30271, fixed in git master.

@brbergami
Copy link

Latest build for windows as referenced in https://github.com/ytdl-org/youtube-dl#installation still has this issue. This shouldn't be considered as "fixed" until releases actually work for end user (link redirects to https://yt-dl.org/latest/youtube-dl.exe)

@brbergami
Copy link

@dirkf Any chance to update the windows builds on yt-dl.org with the latest changes from master?

@barbertoclean21

This comment was marked as spam.

@barbertoclean21

This comment was marked as spam.

@brbergami
Copy link

@brbergami just do it yourself:

pip install https://github.com/ytdl-org/youtube-dl/archive/master.zip

please stop begging for a new release. It should not be expected that a new release will be made for every single commit. Maintainer will make release when they feel like it.

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.

@garoto
Copy link

garoto commented Mar 16, 2022

if your solution is to install python and then pip and then install literally 950 files, it's a shitty workaround.

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.

@dirkf
Copy link
Contributor

dirkf commented Mar 16, 2022

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.

@brbergami
Copy link

@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)

@brbergami

This comment was marked as outdated.

@brbergami
Copy link

If you wish to get a version past the latest release, youll need to use pip from the master branch, as previously discussed.

#30707 (comment)

@dirkf
Copy link
Contributor

dirkf commented Mar 16, 2022

As quoted #30707 (comment), you need to pip-install from the GitHub repo, not the PyPi repo (which just has the latest release).

@garoto
Copy link

garoto commented Mar 16, 2022

Funny part is that tried the pip install on win, which gives me the 2021.12.17 version [...]

version information isn't updated till a release is made. You can edit version.py manually.

that version still has the issue

Tried with master, and xvideos works for me.

@garoto
Copy link

garoto commented Mar 17, 2022

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:

C:\>pip install pyinstaller
C:\>curl --location --remote-name https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.zip
C:\>7z x master.zip 
C:\>cd youtube-dl-master\
C:\>pyinstaller.exe youtube_dl\__main__.py --onefile --upx-exclude=vcruntime140.dll --icon "NONE"

And then find the newly generated .exe inside .\youtube-dl-master\dist\.

@afterdelight

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants