YouTube audio extractor
LuckyTubes interprets all its command arguments as search terms for YouTube videos. For example, luckytubes rickroll will retrieve the first video on YouTube matching the search term "rickroll" (sans quotes), save it to ~/.luckytubes, extract the (probably MP3) audio track with ffmpeg, and add the resulting MP3 to your Amarok playlist. Use the -b option to get the high-quality version, which might have better (AAC) audio.
* Google Data APIs Python Client Library (included)
* jython-elementtree (link coming soon, I'm doing a huge compile and can't open Firefox) (included)
* FFmpeg needs to be on your PATH.
* youtube-dl is included.
* Python 2.2 or later; will ship with Jython soonish.