Jump to content


PHP Youtube Downloader


6 replies to this topic

#1 UnrealMedia

    Young Padawan

  • Members
  • Pip
  • 72 posts

Posted 20 September 2008 - 06:43 AM

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:

#2 N4Z.

    Call me Yoda

  • Members
  • PipPipPipPip
  • 3,016 posts
  • Gender:Male
  • Location:127.0.0.1
  • Interests:Designing, Apple Fan Boy, Music Production and Weekends!

Posted 20 September 2008 - 06:59 AM

http://www.pixel2lif...ding/youtube/1/

:angrylooking:

#3 UnrealMedia

    Young Padawan

  • Members
  • Pip
  • 72 posts

Posted 20 September 2008 - 07:17 AM

Posted Image

#4 N4Z.

    Call me Yoda

  • Members
  • PipPipPipPip
  • 3,016 posts
  • Gender:Male
  • Location:127.0.0.1
  • Interests:Designing, Apple Fan Boy, Music Production and Weekends!

Posted 20 September 2008 - 07:49 AM

My bad lol.

Can you be more specific, an example perhaps?

#5 UnrealMedia

    Young Padawan

  • Members
  • Pip
  • 72 posts

Posted 20 September 2008 - 07:53 AM

Doesn't matter lol :angrylooking:

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

http://clipnabber.com/

#6 Hayden

    P2L Jedi

  • Members
  • PipPipPip
  • 716 posts
  • Gender:Male
  • Location:Texas

Posted 18 October 2009 - 03:56 PM

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.

#7 Arctic Fire

    Young Padawan

  • Members
  • Pip
  • 4 posts

Posted 25 October 2009 - 10:00 PM

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)

Edited by Arctic Fire, 25 October 2009 - 10:00 PM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users