I’ve written a library (or rather made an existing one portable) to download videos & audio from youtube.
- Extract all formats & resolutions for a youtube video
- Download video
- Convert to audio (mp3 or aac)
currently only audio extraction from an .flv file works. Unfortunately youtube only provides .flv files in low resolutions, which results in low quality audio files. Still, better than nothing.
Code examples are on github.