Help - Search - Members - Calendar
Full Version: PHP Youtube Downloader
Pixel2Life Forum > Member Tutorials and Requests > Tutorial Requests
UnrealMedia
How would I go about making a youtube downloader?

Im not sure what to do to edit the URL of a submitted youtube video in order to download it.

Please help. Thank you angrylooking.gif
UnrealMedia

N4Z.
My bad lol.

Can you be more specific, an example perhaps?
UnrealMedia
Doesn't matter lol tongue.gif

There must be thousands of Youtube downloaders out there. This one is probably best...

http://clipnabber.com/
Hayden
A quick, fast answer would require knowledge of the YouTube API.

The Youtube videos themselves are just flash media, so if you can find the direct link to that then you can pull the data into a file.

I followed steps somewhere after googling for something (interesting, the spell check knew what "googling" was) how to find the SWF file by just using Safari.
Arctic Fire
The YouTube API doesn't allow for downloading the videos in their regular format. I believe it will give you the link to the mobile (3pg) version, but not the .flv or .mp4 versions. To get a download link for those, you need to do a bit of page scraping. (looking for things in the html source code of the page)

I could write a tutorial for making one in PHP if you would still like one. (assuming I can find some time)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.