17 hours ago · Music · hide · 0 comments

Writing this post mostly so I can refer to it again later if needed. A while back I taught my dad how to save YT videos he watches on TV to a playlist and he watches a lot of music and recently he asked me if I could export his playlist to mp3s and put them on a flash drive so he can play them in his car. (Do not suggest that I teach him how to use an app like Spotify instead, he is very tech unsavvy, its basically impossible.) I was like okay, that should be easy, I can just use yt-dlp. When I checked the actual playlist to be exported, it turns out the playlist has SEVEN HUNDRED ENTRIES!! Lol okay, I tried yt-dlp anyway, but it turns out there's a bug where it can only process the first 100 items of a playlist. This is regardless of any other filtering or offset parameters, there was no way around it. It does support exporting from a list of URLs in a file though, so second option: scrape the individual URLs from the playlist page using JavaScript: // load the playlist screen and…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.