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

Videos requiring a password shouldn't recommend to send a bug report #22896

Closed
5 of 6 tasks
Nothing4You opened this issue Oct 29, 2019 · 0 comments
Closed
5 of 6 tasks

Comments

@Nothing4You
Copy link

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2019.10.29
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://player.vimeo.com/video/...', '--referer', '...', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.10.29
[debug] Python version 3.7.3 (CPython) - Linux-4.19.0-6-amd64-x86_64-with-debian-10.1
[debug] exe versions: avconv 4.1.4-1, avprobe 4.1.4-1, ffmpeg 4.1.4-1, ffprobe 4.1.4-1
[debug] Proxy map: {}
[vimeo] 368003487: Downloading webpage
[vimeo] 368003487: Extracting information
ERROR: This video is protected by a password, use the --video-password option; 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 "/home/user/.local/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/home/user/.local/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/home/user/.local/lib/python3.7/site-packages/youtube_dl/extractor/vimeo.py", line 653, in _real_extract
    config = self._verify_player_video_password(redirect_url, video_id, headers)
  File "/home/user/.local/lib/python3.7/site-packages/youtube_dl/extractor/vimeo.py", line 526, in _verify_player_video_password
    raise ExtractorError('This video is protected by a password, use the --video-password option')
youtube_dl.utils.ExtractorError: This video is protected by a password, use the --video-password option; 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

This is currently simply raised as ExtractorError which causes youtube-dl to include the text to report it as bug. Either the ExtractorError message should be changed to explain that it should only be reported if it's actually working e.g. in the browser without password before recommending to report it as bug or the way this type of error is handled should be changed.

meunierd referenced this issue in meunierd/youtube-dl Feb 13, 2020
- fix review extraction
- fix ondemand extraction
- make password protected player case as an expected error(closes #22896)
- simplify channel based extractors code
pareronia referenced this issue in pareronia/youtube-dl Jun 22, 2020
- fix review extraction
- fix ondemand extraction
- make password protected player case as an expected error(closes #22896)
- simplify channel based extractors code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant