Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Downloading YouTube videos with GNU awk (catonmat.net)
8 points by mqt on March 16, 2008 | hide | past | favorite | 3 comments


Somewhat tangential, but: I'd love to have a script that automatically downloads the FLV file for every YouTube video I've bookmarked in del.icio.us. My collection of videos is slowly leaking away due to takedown requests.


That's pretty trivial to do. Do you have any programming experience?

Here is the method:

1) Use del.icio.us API to extract your bookmarks linking to youtube (http://del.icio.us/help/api/)

2) For each entry in the list, call the downloader script on the url.

3) Optionally convert the video to a better format than FLV (http://www.catonmat.net/blog/converting-youtube-flvs-to-a-be...)

Easy :)


FYI, the actual animal's name is spelled auk. Only the programming language is spelled awk. Just an interesting two cents for those interested...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: