Reputation: 2150
How can I get a list of all the videos inside all the playlists on a given YouTube channel?
As in download only the titles and rest of the metadata, not the actual media files.
Upvotes: 3
Views: 4931
Reputation: 11
youtube-dl --ignore-errors --write-info-json --skip-download -o "./%(playlist)s/%(title)s.%(ext)s" https://www.youtube.com/playlist?list=PLMjEg73ogUEJO8XFmEBOApRY0PBKSzCyB
Upvotes: 1
Reputation: 2150
youtube-dl --ignore-errors --write-info-json --skip-download -o "./%(playlist)s/%(title)s.%(ext)s" https://www.youtube.com/channel/UCvrLvII5oxSWEMEkszrxXEA/playlists
Explanation
--ignore-errors
Continue on download errors, for example to skip unavailable videos in a playlist, which would stop execution of the whole command--write-info-json
Write video metadata to a .info.json file--skip-download
Do not download the video-o "./%(playlist)s/%(title)s.%(ext)s"
Output to First playlist title/Video number one about things.info.json
Upvotes: 8