adam291086 Posted January 15, 2008 Share Posted January 15, 2008 Hello Youtube prevents us from downloading their videos. Is it possible to use PHP to take that video and download it. I know there are some websites that allow you to do this (only because my house mate did it for me) but i would like to create my own little program to do this. This is for my own personal use and not for everyone on the internet otherwise i would get into a bit of trouble. Quote Link to comment https://forums.phpfreaks.com/topic/86102-downloading-youtube-videos/ Share on other sites More sharing options...
adam291086 Posted January 15, 2008 Author Share Posted January 15, 2008 anyone? Quote Link to comment https://forums.phpfreaks.com/topic/86102-downloading-youtube-videos/#findComment-439788 Share on other sites More sharing options...
tinker Posted January 15, 2008 Share Posted January 15, 2008 never tried to write one myself, however i've got 'Fast Video Download' add-on for firefox and that 'supposedly' can! Quote Link to comment https://forums.phpfreaks.com/topic/86102-downloading-youtube-videos/#findComment-439794 Share on other sites More sharing options...
rajivgonsalves Posted January 15, 2008 Share Posted January 15, 2008 well actually its buffered (streamed in flash) so I don't know how you would get it... they must be having some security mechanism.. but will check it out and see if I get anything.. Quote Link to comment https://forums.phpfreaks.com/topic/86102-downloading-youtube-videos/#findComment-439798 Share on other sites More sharing options...
adam291086 Posted January 15, 2008 Author Share Posted January 15, 2008 this siyte seems to do it http://keepvid.com/ How does it work? Quote Link to comment https://forums.phpfreaks.com/topic/86102-downloading-youtube-videos/#findComment-439820 Share on other sites More sharing options...
rajivgonsalves Posted January 15, 2008 Share Posted January 15, 2008 they are not extracting anything they just running it off youtube.com by using the object tag <object width="543" height="451"><param name="movie" value="http://www.youtube.com/v/aAm9VwOv3YY&rel=1&autoplay=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/aAm9VwOv3YY&rel=1&autoplay=1" type="application/x-shockwave-flash" wmode="transparent" width="543" height="451"></embed></object></p> cut and paste it in a html page and you'll get it on the page.. they must be using an api to give the listing... Quote Link to comment https://forums.phpfreaks.com/topic/86102-downloading-youtube-videos/#findComment-439825 Share on other sites More sharing options...
adam291086 Posted January 15, 2008 Author Share Posted January 15, 2008 oh thats rubbish. They lied. HAHAHA. Quote Link to comment https://forums.phpfreaks.com/topic/86102-downloading-youtube-videos/#findComment-439827 Share on other sites More sharing options...
rajivgonsalves Posted January 15, 2008 Share Posted January 15, 2008 however you could open the url through php and maybe it will download it just a thought Quote Link to comment https://forums.phpfreaks.com/topic/86102-downloading-youtube-videos/#findComment-439831 Share on other sites More sharing options...
ratcateme Posted January 16, 2008 Share Posted January 16, 2008 When i view a youtube video in Firefox and Firebug reports a 5 MB file at "http://74.125.15.101/get_video?video_id=4ruic_HgQ6U&origin=dal-v120.dal.youtube.com" with these post requests made by the flash player origin: dal-v120.dal.youtube.com video_id: 4ruic_HgQ6U you could use cURL to download this file then phrase it into a avi or mpg Scott. Quote Link to comment https://forums.phpfreaks.com/topic/86102-downloading-youtube-videos/#findComment-440463 Share on other sites More sharing options...
cuds Posted January 16, 2008 Share Posted January 16, 2008 Online FLV Converter : Download online videos direct to PC / iPod / PSP. It's free! http://vixy.net/ About this service: This service allows you convert a Flash Video / FLV file (YouTube's videos,etc) to MPEG4 (AVI/MOV/MP4/MP3/3GP) file online. It is using a compressed domain transcoder technology (outline in Japanese). It converts FLV to MPEG4 faster and less lossy than a typical transcoder. When you submit an url, it will download and convert to the video format. Then you can download the converted file. FLV to MPEG4 Conveter engine is now OpenSource. You can download the source code via subversion: http://sourceforge.net/svn/?group_id=183657 For Windows users: Please install DivX to play DivX AVI. http://vixy.net/app/download/windows Quote Link to comment https://forums.phpfreaks.com/topic/86102-downloading-youtube-videos/#findComment-440505 Share on other sites More sharing options...
Xeoncross Posted January 16, 2008 Share Posted January 16, 2008 When i view a youtube video in Firefox and Firebug reports a 5 MB file Rule #1: Use firebug - the world's best JavaScript/HTTP Header browser plugin. Quote Link to comment https://forums.phpfreaks.com/topic/86102-downloading-youtube-videos/#findComment-440581 Share on other sites More sharing options...
winmastergames Posted January 16, 2008 Share Posted January 16, 2008 Im writing one now its getting annoying try it out here Its called YouDown http://www2.winmastergames.com:85/yonder We could work together on making one PM if you want to I still have to finish the converting script Quote Link to comment https://forums.phpfreaks.com/topic/86102-downloading-youtube-videos/#findComment-440598 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.