Hacker News new | ask | show | jobs
by chopin24 1977 days ago
Any tips on easily making an offline copy of these? I'm afraid by the time I started some of these would go dark.
2 comments

Try this:

  lynx -dump -hiddenlinks=listonly https://laconicml.com/computer-science-curriculum-youtube-videos/ | grep youtube.com | perl -pe 's/.*http/http/' | youtube-dl --batch-file -
Thanks, this works! It fails when one video isn't found, but gets 60% of the way there. I'll see if I can exclude that one and get it to keep going
youtube-dl perhaps? Not sure in what order the naming will ho