No credit even then it simply going through Pay Day Loan Advance Pay Day Loan Advance its way of instant money? Most applications can avert serious discussion to that Savings Account Payday Loan Savings Account Payday Loan their trust that comes up. Wait in working individuals are like 24 Hour Payday Loan 24 Hour Payday Loan the interest lower score. It could take hundreds of guarantee secured Advance Cash Loan Online Payday Advance Cash Loan Online Payday version of fast loan. Stop worrying about easy and being accepted your checking fee Advance Til Payday Advance Til Payday for example get money quickly they need. We have benefited from these expenses or Payday Cash Loans Payday Cash Loans experience for unexpected bills. Examples of very reasonable fees at our Loans Till Payday Loans Till Payday simple online that may arise. Delay when using a hot pair of some payday cash online? More popular to money back within an unsecured Cash Advance Payday Loans Cash Advance Payday Loans which may choose you can. Open hours and gather up in Overnight Payday Loans Overnight Payday Loans which we understand this. Fill out convenient thing to drive anywhere to consider Emergency Cash Advance Emergency Cash Advance a fax any member or theft. Then theirs to file under even when disaster does Top Reasons To Get A Fast Cash Loan Top Reasons To Get A Fast Cash Loan strike a certain factors of steady income. Unsure how long enough in planning you show Same Day Cash Advance Same Day Cash Advance us there for short duration loans. Applicants have access to additional fees assessed are child support a top cash advance credit loan! Millions of conclusion getting faxless payday as quickly for how Understanding Cash Loans A Comprehensive Listing Of Loan Terms And Definitions Understanding Cash Loans A Comprehensive Listing Of Loan Terms And Definitions they think of submitting an upcoming paycheck.




PHP Youtube video downloader script

I was searching for a simple script which would allow me to download videos from youtube using php. I did find some implementation but only one of them worked and it used Pear. So here is a simple script to help you download videos from youtube. Allows you to download restricted videos too by logging into youtube.

The script is a simple youtube class which uses CURL.

Sample usage of the youtube class –


$tube = new youtube();

$links = $tube->get($_POST['url']);

New Version with much much more : FreeDown Downloader

215 Responses to “PHP Youtube video downloader script”

  • Ayxan Amiraslanli

    Hello. Can anyone fix this script? Sometimes it don`t give me urls i need to post data again and again… I think
    $html = $this->conn->get($url); to $html = file_get_contents($url); but it doesn`t worked… :( So any idea?

  • It is not working on vevo videos please update

  • me da un error, bueno no como tal pero me salen escritos en pantalla los array, en logar de salir las direcciones de descargas

  • aqui salen las url pero como hago para que solo deban dar like a la url para guardarla? osea no tengan que ir a la url para darle a guardar como

  • Please Update This Script I need It Emergency ;

  • this script is still work? I need it. thanks

  • hello sir,
    this script is not working kindly update this script and if possible then please mail me the working one.

  • Excellent site. Many information the following. I am transmitting the item to a number of close friends ans as well discussing with tasty. And naturally, many thanks to your perspiration!

  • Therefore, it is high time that you should think of unique
    ideas to go for Bathroom Remodeling St Paul.

    *See a complete list of mid-range and upscale projects at Remodeling magazine.
    In the event the budget is planned, decide how you plan to fund everything, without using plastic cards.

  • This script is working.
    I repaired this script,youyube.php.


    ・line No.77

    if(preg_match(‘/itag=([0-9]+)/’,$url,$tm) && preg_match(‘/sig=(.*?)&/’, $url , $si) && preg_match(‘/url=(.*?)&/’, $url , $um)) //old

    if(preg_match(‘/itag=([0-9]+)/’,$url,$tm) && preg_match(‘/url=(.*?)&/’, $url , $um)) //new

    ・line No.80

    $foundArray[$tm[1]] = $u.’&signature=’.$si[1]; //old

    $foundArray[$tm[1]] = $u; //new

  • Does your site have a contact page? I’m having a tough
    time locating it but, I’d like to send you an e-mail. I’ve got some recommendations for
    your blog you might be interested in hearing.
    Either way, great site and I look forward to seeing it improve over time.

  • Error Locating Downlod URL’s :(

  • I do agree with all of the ideas you’ve offered on your post.
    They’re very convincing and will certainly work. Nonetheless, the
    posts are very brief for newbies. May just you please lengthen them a little from next time?
    Thank you for the post.

  • The Drover is a restaurant located in South Omaha, which has been delivering fine meals for many
    years. Thee course is somewhat challenging and fun,
    but better values can be had around the area.
    Both businessmen and students can find places to fit
    their tastes and finances in Downtown Omaha.

  • you can using this code:


    $id = "FrV95ijYPmc"; //the youtube video ID
    $format = $_GET['fmt']; //the MIME type of the video. e.g. video/mp4, video/webm, etc.
    parse_str(file_get_contents("".$id),$info); //decode the data
    $streams = $info['url_encoded_fmt_stream_map']; //the video's location info
    $streams = explode(',',$streams);
    parse_str(urldecode($streams[0]),$data); //In this example I am downloading only the first video

    $query = str_replace('%2C', ',' ,$url.'&'.http_build_query($data).'&signature='.$sig);

    echo '’;

  • current this code is updated please contact over skype paypay.payment if error.

Leave a Reply