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

http://www.rts.ch/play/tv/divertissementachats/video/daft-punk-unchained?id=7153933 #7111

Closed
Rudloff opened this issue Oct 9, 2015 · 6 comments
Closed

Comments

@Rudloff
Copy link
Contributor

@Rudloff Rudloff commented Oct 9, 2015

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://www.rts.ch/play/tv/divertissementachats/video/daft-punk-unchained?id=7153933', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.10.09
[debug] Python version 2.7.9 - Linux-3.16.0-4-amd64-x86_64-with-debian-8.2
[debug] exe versions: none
[debug] Proxy map: {}
[RTS] daft-punk-unchained: Downloading JSON metadata
[RTS] 7153933: Downloading m3u8 information
ERROR: Failed to download m3u8 information: 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; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 329, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1872, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 475, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 558, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
@remitamine
Copy link
Collaborator

@remitamine remitamine commented Oct 9, 2015

it's geo restricted.
the api request contains this:

{
  "Video": {
    "id": "7153933",
...
    "block": "GEOBLOCK",
...

which map to this message:For legal reasons, this video is only available in Switzerland.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 9, 2015

It does not work via youtube-dl with Swiss IP either (can be watched in browser). f4m does not work due to unsupported akamai player verification.

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Oct 9, 2015

is it the akamai playerVerificationChallenge?
if it's the case i send pull request to prevent it(#6408).

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 9, 2015

It's probably it but it won't anyhow help in this case. Moreover I'm not sure whether ; in pv-2.0 is always a sign of player verification.

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Oct 9, 2015

i based the code on parts of AS code that deal with playerVerificationChallenge in the akamai plugin for francetv player.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 10, 2015

Duplicate of #4989.

@dstftw dstftw closed this Oct 10, 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
3 participants
You can’t perform that action at this time.