How to get a list of videos appearing in a youtube playlist?
June 19, 2020 7:47 PM   Subscribe

If I have the url of a Youtube playlist, is there a simple way to get a list of video titles and urls that appear in the playlist? The playlist contains over 100 videos, so it's not something I want to do manually.
posted by NoneOfTheAbove to Computers & Internet (6 answers total) 3 users marked this as a favorite
 
Best answer: In case anyone else stumbles on this post, I managed to find a solution here:
http://www.williamsportwebdeveloper.com/FavBackUp.aspx
posted by NoneOfTheAbove at 9:06 PM on June 19, 2020 [2 favorites]


Did anyone get this to work?
posted by james33 at 4:41 AM on June 20, 2020


You can use the youtube-dl command.
posted by Poldo at 6:23 AM on June 20, 2020 [1 favorite]


Good ol' youtube-dl, what can't it do?!

❤️❤️❤️
posted by wenestvedt at 6:57 AM on June 20, 2020


There's probably a way to achieve this with youtube-dl combined with some text parsing tools but the example in Poldo's answer isn't quite there yet, as it lists only the URLs but not the respective video titles.

Some UNIX guru will probably chime in soon with a tweak for that command line that dumps both title and URL.
posted by Bangaioh at 11:56 AM on June 20, 2020


The youtube-dl '-j' option prints out a JSON file with the titles for me. This command converts it to text with the id and title on alternating lines:
youtube-dl -j --flat-playlist "https://www.youtube.com/watch?list=PLpFrAlvpkPMu90fC_lLUuhtRyVPmc7N6z" | jq -r '.id','.title'
posted by Poldo at 7:52 PM on June 20, 2020 [1 favorite]


« Older Gynecologist issue re: menopause diagnosis   |   Money makes everything easier Newer »
This thread is closed to new comments.