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

xhamster 405 error #24827

Closed
TheGrimKeeper opened this issue Apr 17, 2020 · 0 comments
Closed

xhamster 405 error #24827

TheGrimKeeper opened this issue Apr 17, 2020 · 0 comments

Comments

@TheGrimKeeper
Copy link

@TheGrimKeeper TheGrimKeeper commented Apr 17, 2020

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.03.24
  • 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

youtube-dl -v https://xhamster.com/videos/real-big-tits-milf-2897341
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://xhamster.com/videos/real-big-tits-milf-2897341']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.03.24
[debug] Python version 2.7.16 (CPython) - Linux-5.3.0-22-generic-x86_64-with-Ubuntu-19.04-disco
[debug] exe versions: ffmpeg 4.1.3, ffprobe 4.1.3
[debug] Proxy map: {}
[XHamster] 2897341: Downloading webpage
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on u'https://19-15.b.cdn13.com/002/897/341/240p.h264.mp4?cdn_creation_time=1587088800&cdn_ttl=14400&cdn_bw=78k&cdn_bw_fs=1007k&cdn_cv_data=98.122.181.214-dvp&cdn_hash=3b4bc6ef22d2dd6570dabc3f461e8f81'
ERROR: unable to download video data: HTTP Error 405: Not Allowed
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1926, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1865, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 366, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 341, in real_download
    establish_connection()
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 109, in establish_connection
    ctx.data = self.ydl.urlopen(request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2238, 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)
HTTPError: HTTP Error 405: Not Allowed

Description

Many, but not all, xhamster links return a 405: Not Allowed error. Some other examples include:
https://xhamster.com/videos/fantastic-big-tit-milf-fuck-1238208
https://xhamster.com/videos/mick-blue-alina-lopez-exposure-scene-1-13388823

@ytdl-org ytdl-org locked and limited conversation to collaborators Apr 18, 2020
@ytdl-org ytdl-org deleted a comment from DrDRECoder Apr 18, 2020
@dstftw dstftw closed this Aug 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.