This is a little UDF I wrote to deal with YouTube on another script of mine, QuickYouTubeToMP3. Although it's not complete, I decided to release it independently for others to use and perhaps expand upon. It currently contains five useful functions and another one used internally. _YT_Clean_Fmt_Map() _YT_URLDecode() _YT_Clean_Fmt_Map() _YT_checkFormat() _YT_getVideoIDByURL() _YT_getVideoInformation() Example Script: Go see Quick YouTube To MP3. It uses this UDF. ;-) Download: Latest v