Code
Code snippets or related stuff I post in my blog entries or things that I just create out of boredom will go here. Stay tuned.
TubeScraper
This is a script written in PHP that scrapes YouTube video URLs you provide it with and outputs the actual download URL of the Flash Video (FLV) file. This is particularly useful in combination with the popular wget command. Just save the file, make it executable (chmod +x tubescraper), and run it.
Here’s an example of using TubeScraper:
tubescraper http://youtube.com/watch?v=JIApJMzGzDQ | wget -O 'VMware Fusion Unity.flv' -i -
After downloading the FLV file, you may play it back in a video player like VLC.