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

[youtube] Can't fetch video id's from some playlists #9485

Closed
davue opened this issue May 13, 2016 · 2 comments
Closed

[youtube] Can't fetch video id's from some playlists #9485

davue opened this issue May 13, 2016 · 2 comments

Comments

@davue
Copy link

@davue davue commented May 13, 2016

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

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably 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

Working:

$ youtube-dl --yes-playlist --get-id https://www.youtube.com/watch?v=eVTXPUF4Oz4&list=RDeVTXPUF4Oz4

Not Working:
$ youtube-dl --yes-playlist --get-id 'https://www.youtube.com/watch?v=pdoIs1jZbCY&list=RDEMWmnt7jMTTO8Kol5fcLtm-g' --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--yes-playlist', u'--get-id', u'https://www.youtube.com/watch?v=pdoIs1jZbCY&list=RDEMWmnt7jMTTO8Kol5fcLtm-g', u'--verbose']
[debug] Encodings: locale ANSI_X3.4-1968, fs ANSI_X3.4-1968, out ANSI_X3.4-1968, pref ANSI_X3.4-1968
[debug] youtube-dl version 2016.05.10
[debug] Python version 2.7.9 - Linux-2.6.32-43-pve-x86_64-with-debian-8.4
[debug] exe versions: ffmpeg N-79898-gaeefe01, ffprobe N-79898-gaeefe01
[debug] Proxy map: {}
ERROR: Kol5fcLtm-g: YouTube said: This video does not exist.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 676, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 341, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1311, in _real_extract
    expected=True, video_id=video_id)
ExtractorError: Kol5fcLtm-g: YouTube said: This video does not exist.

Description of your issue and other information

If you try to fetch video id's from a YouTube playlist via youtube-dl --get-id <playlist> it works for some playlist and for some it doesn't.

Note: that the last 11 signs of working playlists ID's matches to a video inside the playlist, while it doesn't on non working playlists even though the latter playlist works on YouTube.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 13, 2016

As seen from the log video Kol5fcLtm-g does not exist thus technically Kol5fcLtm-g is not a valid video id. Use -i to skip such errors.

@dstftw dstftw closed this May 13, 2016
@davue
Copy link
Author

@davue davue commented May 13, 2016

Oh, shame on me. I thought there was a problem with the playlist ID itself not just that he stopped because he couldn't get one video.

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.