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

[VIMEO] HTTP ERROR 403 when downloading OnDemand VODs through VPS, but not desktop? #25248

Closed
tehgarra opened this issue May 12, 2020 · 2 comments
Closed
Labels

Comments

@tehgarra
Copy link

@tehgarra tehgarra commented May 12, 2020

Checklist

  • I'm asking a question
  • I've looked through the README and FAQ for similar questions
  • I've searched the bugtracker for similar questions including closed ones

Question

Successful run W10

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-u', 'PRIVATE', '-p', 'PRIVATE', 'https://vimeo.com/ondemand/xiaolinchronicles/', 'https://player.vimeo.com/video/222288672', '--ignore-config', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.03.08
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17763
[debug] exe versions: ffmpeg git-2019-12-11-13f2b6d, ffprobe git-2019-12-11-13f2b6d
[debug] Proxy map: {}
[vimeo:ondemand] Downloading login page
[vimeo:ondemand] Logging in
[vimeo:ondemand] xiaolinchronicles: Downloading webpage
[vimeo:ondemand] xiaolinchronicles: Extracting information
[vimeo:ondemand] xiaolinchronicles: Downloading JSON metadata
[vimeo:ondemand] xiaolinchronicles: Downloading JSON metadata
WARNING: [vimeo:ondemand] xiaolinchronicles: Failed to parse JSON Expecting value: line 1 column 1 (char 0)
[vimeo:ondemand] xiaolinchronicles: Downloading akfire_interconnect_quic m3u8 information
[vimeo:ondemand] xiaolinchronicles: Downloading fastly_skyfire m3u8 information
[vimeo:ondemand] xiaolinchronicles: Downloading akfire_interconnect_quic MPD information
[vimeo:ondemand] xiaolinchronicles: Downloading fastly_skyfire MPD information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://skyfire.vimeocdn.com/1589234654-0xaa40e715bf8249e3cf4ef75f9c6b66bf94fb4438/222288672/sep/video/776404625/playlist.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 221
[download] Destination: E01 - A NEW MONK ON THE BLOCK-222288672.fhls-fastly_skyfire-3738.mp4
[download]   3.7% of ~725.43MiB at  1.06MiB/s ETA 05:24
ERROR: Interrupted by user

Bad Run UBUNTU

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'https://vimeo.com/ondemand/xiaolinchronicles/', u'https://player.vimeo.com/video/222288672', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.05.08
[debug] Python version 2.7.12 (CPython) - Linux-4.4.0-174-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: none
[debug] Proxy map: {}
[vimeo:ondemand] Downloading login page
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 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)

Am I doind something wrong here, or could it just be that vimeo is blocking access from vps services? I've tried with US and Amsterstdam vps locations (from the same site) with the same result

W10

wget --spider https://vimeo.com/ondemand/xiaolinchronicles/222288672?autoplay=1
Spider mode enabled. Check if remote file exists.
--2020-05-11 22:31:07--  https://vimeo.com/ondemand/xiaolinchronicles/222288672?autoplay=1
Resolving vimeo.com (vimeo.com)... 151.101.128.217, 151.101.0.217, 151.101.64.217, ...
Connecting to vimeo.com (vimeo.com)|151.101.128.217|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 189864 (185K) [text/html]

Ubuntu vps

wget --spider https://vimeo.com/ondemand/xiaolinchronicles/222288672?autoplay=1
Spider mode enabled. Check if remote file exists.
--2020-05-12 03:44:59--  https://vimeo.com/ondemand/xiaolinchronicles/222288672?autoplay=1w
Resolving vimeo.com (vimeo.com)... 151.101.128.217, 151.101.192.217, 151.101.0.217, ...
Connecting to vimeo.com (vimeo.com)|151.101.128.217|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
Remote file does not exist -- broken link!!!
@tehgarra tehgarra added the question label May 12, 2020
@remitamine
Copy link
Collaborator

@remitamine remitamine commented May 12, 2020

has nothing to do with youtube-dl.

@remitamine remitamine closed this May 12, 2020
@remitamine remitamine added the invalid label May 12, 2020
@Sissuire
Copy link

@Sissuire Sissuire commented May 24, 2020

@tehgarra So, have you ever solved this problem. I just encountered the same. It's ok in Windows but failed in Ubuntu.

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.