Sunday 1 May 2016

Youtube Api Source PHP Script For Generating DirectStream Link By Available Pixels

Hi Guys iam PHP Beginner and dont know about fully php... i give my best here to impress visitors daily for my blogspot its my hardwork to find and share this api based script to Generate Download and streaming links for users....
Many of them this API SCRIPT is gone to 1Lakh rupees...
iam posting this For those who suffer in middle class as poor wapmasters
 and no Background Peoples Like Me....
And I Specially Dedicated To My Loveable One Whoes Reject My Propose....

STEP 1 : you should have small vps to generate download link of youtube...

STEP 2 : First of all its youtube-dl software based it will work on Linux OS such as Centos,Debian,Ubuntu,Fedora...etc


INSTALLATION COMMANDS :-

FOR RHEL/CentOS and Fedora



 STEP 1:   yum install youtube-dl

STEP 2 :   curl https://yt-dl.org/latest/youtube-dl -o /usr/local/bin/youtube-dl
After fetching the file, you need to set a executable permission on the script to execute properly.


   STEP 3:    chmod a+rx /usr/local/bin/youtube-dl

For Ubuntu/Linux Mint and Debian



STEP 1 :    sudo add-apt-repository ppa:nilarimogard/webupd8

 STEP 2 :   sudo apt-get update

STEP 3 :    sudo apt-get install youtube-dl

STEP 4 :    sudo curl https://yt-dl.org/latest/youtube-dl -o /usr/local/bin/youtube-dl

STEP 5 :    sudo chmod a+rx /usr/local/bin/youtube-dl

thats it you installed youtube-dl on your VPS

Now you want to create Download of Youtube Video Just check this command Below:-

                     youtube-dl -g https://www.youtube.com/watch?v=h7lvXx0tMy8

Output Come like this Download Links :-

https://r6---sn-nx57ynez.googlevideo.com/videoplayback?id=87b96f5f1d2d332f&itag=136&source=youtube&requiressl=yes&initcwndbps=552500&nh=IgpwcjAxLnNlYTAzKgkxMjcuMC4wLjE&mm=31&mn=sn-nx57ynez&ms=au&mv=m&pl=25&ratebypass=yes&mime=video/mp4&gir=yes&clen=95873386&lmt=1455525847273920&dur=491.490&key=dg_yt0&sver=3&signature=64D32BDD80CC79C2CEF531F9F6BB62B508277491.2BBDC3E6CFA801952925EC251282F9437617A8D8&upn=4ise3JE1ouk&fexp=9416126,9416891,9421085,9422596,9424135,9428398,9429743,9431012,9432060,9433046,9433096,9433188,9433946,9433961,9434281,9434289,9434674,9435490,9435603,9435790&mt=1462089163&ip=XXXXXXXX&ipbits=0&expire=1462110874&sparams=ip,ipbits,expire,id,itag,source,requiressl,initcwndbps,nh,mm,mn,ms,mv,pl,ratebypass,mime,gir,clen,lmt,dur



https://r6---sn-nx57ynez.googlevideo.com/videoplayback?id=87b96f5f1d2d332f&itag=251&source=youtube&requiressl=yes&initcwndbps=552500&nh=IgpwcjAxLnNlYTAzKgkxMjcuMC4wLjE&mm=31&mn=sn-nx57ynez&ms=au&mv=m&pl=25&ratebypass=yes&mime=audio/webm&gir=yes&clen=7650122&lmt=1458206986791400&dur=491.501&key=dg_yt0&sver=3&signature=167A7EF3FF1D35C129EF1A6778761E9BC3FC0846.46AB4992397096B2312B542CEFA520A9E5812310&upn=4ise3JE1ouk&fexp=9416126,9416891,9421085,9422596,9424135,9428398,9429743,9431012,9432060,9433046,9433096,9433188,9433946,9433961,9434281,9434289,9434674,9435490,9435603,9435790&mt=1462089163&ip=XXXXXXXX&ipbits=0&expire=1462110874&sparams=ip,ipbits,expire,id,itag,source,requiressl,initcwndbps,nh,mm,mn,ms,mv,pl,ratebypass,mime

Now you have Successfully  Generated Download Link Of Youtube link

using this php script
at the end of this you should denote like
YOUTUBE.php?v=XXXXXX
v=YOUTUBEID


PHP SCRIPT DOWNLOAD ON MASTER-LAND.NET

http://master-land.net/Thread-Youtube-API-Source-PHP-Script-For-Youtube-Download-Links



16 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
    Replies
    1. Uprgarde Your Yum google about to update your command

      Delete

    2. Command 1 : yum update

      Command 2 : yum upgrade

      Delete
  3. yes already, now the php output shows "youtube-dl: command not found" but works perfectly via ssh, is this my php issue?

    ReplyDelete
    Replies
    1. which panel you are using ??? please google it about enable shell access for php files :) thank you

      Delete
    2. yes its working now, thank brother you save my time and money

      Delete
  4. So this is the secret to download vevo videos? I will paid one vps for mine! Thanks!

    ReplyDelete
  5. So this is the secret to download vevo videos? I will paid one vps for mine! Thanks!

    ReplyDelete
  6. how to speedup, this running very slow on my linux vps

    ReplyDelete
    Replies
    1. check CPU speed you must have 1GHZ to get fast output check it on google to know cpu speed comments

      Delete
  7. running very very slow i have 2.4 ghz processor speed and 2gp ram vps

    ReplyDelete
  8. from godaddy but url load very very slow it takes about 8-10 secounds to load url

    ReplyDelete
  9. Dont Use Openvz VPS use KVM vps or Just Buy VPS on Scaleway.com

    ReplyDelete
  10. its work but slow i have 6GB ram 2.2ghz

    ReplyDelete