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

[Twitch.tv VOD] Error 403 #13760

Closed
witmore1 opened this issue Jul 28, 2017 · 2 comments
Closed

[Twitch.tv VOD] Error 403 #13760

witmore1 opened this issue Jul 28, 2017 · 2 comments

Comments

@witmore1
Copy link

@witmore1 witmore1 commented Jul 28, 2017

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.07.23. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • [ X] I've verified and I assure that I'm running youtube-dl 2017.07.23

Before submitting an issue make sure you have:

  • [ X] At least skimmed through README and most notably FAQ and BUGS sections
  • [X ] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • [X ] Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

$ youtube-dl -v -F https://www.twitch.tv/videos/162508229
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-F', u'https://www.twitch.tv/videos/162508229']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.07.23
[debug] Python version 2.7.6 - Linux-4.4.0-83-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: ffmpeg git-2016-02-15-295de3e, ffprobe git-2016-02-15-295de3e
[debug] Proxy map: {}
[twitch:vod] 162508229: Downloading vod info JSON
[twitch:vod] 162508229: Downloading vod access token
[twitch:vod] 162508229: Downloading m3u8 information
ERROR: Failed to download m3u8 information: HTTP Error 403: ERROR (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 502, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2166, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)


Description oftryiour issue, suggested solution and other information

Trying to download VOD files from twitch which has worked previously, it failed with 2017.07.15 tried upgrading the client to 2017.7.23 same error, tried two different isps just to see if it was an ip based block, and due to another issue tried with and without https/http in the beginning of the url

@Hrxn
Copy link

@Hrxn Hrxn commented Jul 28, 2017

This is for subscribers only, try to provide account credentials.

@witmore1
Copy link
Author

@witmore1 witmore1 commented Jul 28, 2017

you are right.. my cookies.txt expired and when I switched shells to use one on a different isp I didnt pass the cookies.txt or username command to the program..

@witmore1 witmore1 closed this Jul 28, 2017
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
2 participants
You can’t perform that action at this time.