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

[rtve.es] Extractor broken, returns 403: Forbidden #7315

Closed
dban0001 opened this issue Oct 28, 2015 · 3 comments
Closed

[rtve.es] Extractor broken, returns 403: Forbidden #7315

dban0001 opened this issue Oct 28, 2015 · 3 comments

Comments

@dban0001
Copy link

@dban0001 dban0001 commented Oct 28, 2015

youtube-dl "http://www.rtve.es/alacarta/videos/la-noche-tematica/noche-tematica-edad-del-aluminio/3333578/" --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://www.rtve.es/alacarta/videos/la-noche-tematica/noche-tematica-edad-del-aluminio/3333578/', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.10.24
[debug] Python version 2.7.6 - Linux-3.16.0-38-generic-x86_64-with-LinuxMint-17.2-rafaela
[debug] exe versions: ffmpeg N-75403-g3a8e447, ffprobe N-75403-g3a8e447
[debug] Proxy map: {}
[rtve.es:alacarta] Fetching manager info
[rtve.es:alacarta] 3333578: Downloading JSON metadata
[rtve.es:alacarta] 3333578: Downloading url information
[rtve.es:alacarta] 3333578: Getting video url
ERROR: Unable to download webpage: 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 330, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1873, 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)
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Oct 28, 2015

It works fine for me. Can you watch the video on a browser from the same computer? Are you connecting from Spain or other country?

@dban0001
Copy link
Author

@dban0001 dban0001 commented Oct 28, 2015

Oh, now I noticed it: When I open the link in my browser, the video (and all others) are just one second long.. Probably because I'm using it in Germany.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Oct 28, 2015

Yes, RTVE probably only has the rights for distributing the contents in Spain (I think they don't produce those documentaries themselves), therefore they blocked it in the rest of the world.

@jaimeMF jaimeMF closed this Oct 28, 2015
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.