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

Can't download password protected Vimeo video when using www.vimeo.com url #15114

Closed
Lars opened this issue Dec 29, 2017 · 0 comments
Closed

Can't download password protected Vimeo video when using www.vimeo.com url #15114

Lars opened this issue Dec 29, 2017 · 0 comments

Comments

@Lars
Copy link

@Lars Lars commented Dec 29, 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 this: [x])
  • Use the Preview tab to see what your issue will actually look like

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

  • I've verified and I assure that I'm running youtube-dl 2017.12.28

Before submitting an issue make sure you have:

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

What is the purpose of your issue?

  • 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

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--video-password', u'PRIVATE', u'http://www.vimeo.com/249108620', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.12.28
[debug] Python version 2.7.13 - Linux-4.9.0-3-amd64-x86_64-with-debian-9.1
[debug] exe versions: avconv 3.2.7-1, avprobe 3.2.7-1, ffmpeg 3.2.7-1, ffprobe 3.2.7-1, rtmpdump 2.4
[debug] Proxy map: {}
[vimeo] 249108620: Downloading webpage
[vimeo] 249108620: Extracting information
[vimeo] 249108620: Verifying the password
[vimeo] 249108620: Downloading webpage
[vimeo] 249108620: Extracting information
ERROR: video password verification failed!; 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.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/vimeo.py", line 535, in _real_extract
    flags=re.DOTALL)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 794, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract info section; 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.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 784, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 438, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/vimeo.py", line 546, in _real_extract
    smuggle_url(url, {'_video_password_verified': 'verified'}))
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/vimeo.py", line 543, in _real_extract
    raise ExtractorError('video password verification failed!')
ExtractorError: video password verification failed!; 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.

Description of your issue, suggested solution and other information

When trying to download a password protected Vimeo video using www.vimeo.com as a domain (either http or https) the procedure fails with "video password verification failed!", the download works when using vimeo.com as domain (either http or https).

Created a test video:
URL: https://www.vimeo.com/249108620
Password: test1234

Suggested solution: I've not had the opportunity to delve into the bug further to investigate. When opening the video through a browser, one gets redirected to https://vimeo.com from any other url base, so it's possible there's a redirect yt-dl is ignoring. Another (extremely dirty) solution would be automatically "scrubbing" www.vimeo.com to https://vimeo.com on the handler.

@dstftw dstftw closed this in 580f3c7 Dec 29, 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
1 participant
You can’t perform that action at this time.