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

Handling deleted videos in a play-list. #2076

Closed
ProgramErgoSum opened this issue Jan 2, 2014 · 2 comments
Closed

Handling deleted videos in a play-list. #2076

ProgramErgoSum opened this issue Jan 2, 2014 · 2 comments

Comments

@ProgramErgoSum
Copy link

@ProgramErgoSum ProgramErgoSum commented Jan 2, 2014

Hi,
A Happy 2014 to you !!

youtube-dl does not download a video that is deleted from a play-list; which is fine. But, I wonder, what is the source of all videos in the play-list that youtube-dl accesses ?

I came across this YouTube API (https://developers.google.com/youtube/2.0/developers_guide_protocol_playlists#Retrieving_a_playlist) to retrieve a public play-list. In result of this API, the yt:position tag does not appear for the missing video. But, youtube-dl is not only able to get the video ID, but, reports an error that it is unable to download. This is good; but obviously, youtube-dl is looking for video ID in the play-list some where else. Where ?

Example:
Playlist URL: http://www.youtube.com/playlist?list=PLAD5B880806EBE0A4
Missing video numbers: 33 and 34.
Feed URL: https://gdata.youtube.com/feeds/api/playlists/PLAD5B880806EBE0A4?start-index=26&max-results=25&v=2
XPath (does not return results):

/a:feed/a:entry[yt:position=33]/a:title/text()
/a:feed/a:entry[yt:position=34]/a:title/text()

youtube-dl reports that video # 33 cannot be downloaded. The YouTube web-page itself does show that the video was deleted.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jan 2, 2014

We use the playlist page to extract the video ids, we should probably skip the videos marked as deleted.
In the meantime you can use the --ignore-errors option, the program won't stop when it process the deleted video.

@ProgramErgoSum
Copy link
Author

@ProgramErgoSum ProgramErgoSum commented Jan 2, 2014

Yes, I am aware of the --ignore-errors option. But, I was curious about how you sourced the list of videos in a list.

Thanks !

You may close this issue.

@phihag phihag closed this Jan 5, 2014
@ytdl-org ytdl-org deleted a comment from kirbykirbyyt Jan 27, 2018
@ytdl-org ytdl-org locked and limited conversation to collaborators Jan 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.