who needs a script when u can use this addon converts most formats for you to download right to yr pc
https://addons.mozilla.org/en-US/firefox/addon/13990/
Download YouTube in a single click. Add small links in YouTube to Download Videos and music in MP4 HD (High Definition), MP4 High-Quality and FLV. To Download a YouTube video - whenever you're on a video page in YouTube you'll see the links to directly download the video to your hard-drive. This is an easy YouTube Video Downloader - If all you need is a simple, intuitive, and none-intrusive add-on to Download YouTube Videos, this is the add-on for you. 1-Click YouTube Video Downloader is a great Download Helper Tool and is a great combination with Video DownloadHelper , DownThemAll and FlashGot. Soon you could Download YouTube videos directly from the search results of Google, Yahoo and Bing.
Added after 9 minutes:
this is a better one that does conversions IE: YOUTUBE VIDEO TO MP3
External image (may be gone) External image (may be gone)
*****
**Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer.. Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free ***