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

Patreon Unable to download JSON metadata: HTTP Error 403 #24608

Open
okand opened this issue Apr 4, 2020 · 3 comments
Open

Patreon Unable to download JSON metadata: HTTP Error 403 #24608

okand opened this issue Apr 4, 2020 · 3 comments

Comments

@okand
Copy link

@okand okand commented Apr 4, 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

nuc :: ~ % youtube-dl https://www.patreon.com/posts/episode-150-eric-35033817 --verbose                                                                     1 ↵
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://www.patreon.com/posts/episode-150-eric-35033817', u'--verbose']
[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.17 (CPython) - Linux-4.15.0-91-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 4.0.2-static, ffprobe 4.0.2-static, phantomjs 2.1.1
[debug] Proxy map: {}
[Patreon] 35033817: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 403: Forbidden (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 "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 627, in _request_webpage
    return self._downloader.urlopen(url_or_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)

Description

This podcast episode is fully playable directly in the browser without even logging in but youtube-dl is unable to fetch the file. https://www.patreon.com/posts/episode-150-eric-35033817

@raphtlw
Copy link

@raphtlw raphtlw commented Apr 10, 2020

I'm getting the same issue too

@betatan
Copy link

@betatan betatan commented Jun 1, 2020

Same issue in a walled account, Im a paying supporter.

@unitof
Copy link

@unitof unitof commented Jul 7, 2020

Also getting this on a publicly available (login not required) Patreon audio post: https://www.patreon.com/posts/episode-4-trecel-37172209.

Just with a slightly different HTTPError; Unable to download JSON metadata: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>);

Changing the --user-agent flag to match my browser's still leads to 403, so I don't think this is simple useragent blocking on Patreon's part.

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

Successfully merging a pull request may close this issue.

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