Since your post serves no purpose and is a complete waste of time... @Emirates what exactly are you looking to download from YouTube and FaceBook? There are tons of libraries for downloading YouTube videos. In fact, Google offers a YouTube API and FaceBook offers an API too. You can find their developer pages by going to their web sites.
Yes you are right! But when someone is asking such a question i can't write anything else... its the effort people put in topics like this that makes me posts these answers.. as i am still searching for such a script....
http://rg3.github.io/youtube-dl/ Youtube-dl will download from youtube and facebook. Check out their page and click on the "more sites" link for a complete listing of who they support. I've been using this script for years and it's great.
Thanks mate, even ive been looking for something like this for quite some time. tell me this, is it a local executable command line program (looks like that on the url). i am after a script that can be served on a webpage for other users... any idea about that? cheers, Josh
Yep, it's locally executed via the command line. There are a number of wrappers for PHP that can control the downloading. Here's one of them https://github.com/norkunas/youtube-dl-php Just search for youtube-dl PHP and you'll get an idea of what's out there. I assume you're running this on a VPS or two. It might be wise to set up a task queue to download the videos and then send back an AJAX alert to the browser when the file is downloaded since you don't want a bunch of HTTP requests open while videos are downloading. Best of luck!
AdBlock Plus and NoScript safe, No Adobe Flash needed To download the Youtube video just cut and paste the URL from the browser's URL bar. You do not need to start the video or anything.