Leeroy
Leeroy

Reputation: 2150

List all videos from all the playlists on a YouTube channel (without downloading video or audio)

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

Answers (2)

user14588885
user14588885

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

Leeroy
Leeroy

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

Related Questions