Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Download link not working #2303
Comments
|
Your question is about YSD, not youtube-dl. Please do not file questions about YSD in the youtube-dl issuetracker. Instead, file questions about YSD in the YSD issue tracker. That being said, are you sending the same cookies, using the same user-agent header, sending the request from the same IP address, and sending the request shortly after extraction? All these are or were required at some point. |
I am using YSD with youtube-dl which returns back the decoded signature via a php wrapper on server-side.
But download links are not working
For example:
"sig" => "EB69878B76990CA0D5C3C33852BD7EAEFF39741E.82DE130CE80E7FC7CFF2078669F94FD38A1BDFAB",
"vid" => "_JQH3G0cCtY",
"url" => "http://s.ytimg.com/yts/jsbin/html5player-vfl9qWoOL.js"
decoded signature = 7AFDB1A83DF49F9668702FFC8CF7E08EC031ED2B.E1479EFFEA37DB25833C3C5D0AC099E7B87896B6
Final link = http://r9---sn-cvh7zn7y.googlevideo.com/videoplayback?id=fc9407dc6d1c0ad6&expire=1391547839&sver=3&ipbits=0&ms=au&sparams=gcr,id,ip,ipbits,itag,ratebypass,source,upn,expire&source=youtube&mt=1391524644&ratebypass=yes&fexp=900161,936117,936910,936913&itag=22&key=yt5&ip=117.199.152.39&upn=bsyZXhzGxls&mv=m&gcr=in&signature=7AFDB1A83DF49F9668702FFC8CF7E08EC031ED2B.E1479EFFEA37DB25833C3C5D0AC099E7B87896B6
Also, the url_encoded_fmt_stream_map dictionary data obtained via get_video_info is
fallback_host=tc.v9.cache1.googlevideo.com&s=EB69878B76990CA0D5C3C33852BD7EAEFF39741E.82DE130CE80E7FC7CFF2078669F94FD38A1BDFAB&quality=hd720&itag=22&type=video/mp4; codecs="avc1.64001F, mp4a.40.2"&url=http://r9---sn-cvh7zn7y.googlevideo.com/videoplayback?id=fc9407dc6d1c0ad6&expire=1391547839&sver=3&ipbits=0&ms=au&sparams=gcr%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&source=youtube&mt=1391524644&ratebypass=yes&fexp=900161%2C936117%2C936910%2C936913&itag=22&key=yt5&ip=117.199.152.39&upn=bsyZXhzGxls&mv=m&gcr=in
I am sure the decoded signature is 100% correct but don't understand why the download link is not working.