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.
[YoutubeDL] Download from another machine with a different IP doesn't work. #13984
Comments
|
And both really result in the same format? |
|
What do you mean? If you mean file format, yes. Both are MP4. |
|
Yes, but also same checksum, etc. ? |
|
Yes, they have same md5 checksum. Just checked it now. |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.08.18. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
Description of your issue, suggested solution and other information
I can't download a generated URL with -g parameter on another computer (with a different IP). But I can download URL's generated by other online generators on different PC.
Example: Link generated by youtube-dl using following code;
youtube-dl -f "mp4" -g https://www.youtube.com/watch?v=xvZqHgFz51IOutput:
https://r5---sn-ab5l6n6s.googlevideo.com/videoplayback?mn=sn-ab5l6n6s&expire=1503367382&mm=31&gcr=us&ipbits=0&ip=185.92.223.123&key=yt6&lmt=1500315296370559&dur=289.552&mv=u&pl=25&mt=1503345660&ms=au&ei=dTybWamNOI2KhAfGl7OgAQ&source=youtube&sparams=dur%2Cei%2Cgcr%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&mime=video%2Fmp4&id=o-AFthCo2M6zs28lyJSRYN3dHwh1X-Zt_8Rbh8JllVT34B&itag=22&ratebypass=yes&requiressl=yes&signature=96947A07F4E861B1BCB58C40FD8D89C2CE9CE43E.2A0BF8EAF135D18120808511174DE5C687C6268CResult: This link doesn't work on another PC with a different IP.
However, when I generate similar link with some other online conversion tool. the link will be as follows;
Output:
http://r5---sn-nv47ln7e.googlevideo.com/videoplayback?sparams=dur,ei,expire,gcr,id,initcwndbps,ip,ipbits,itag,lmt,mime,mip,mm,mn,ms,mv,pl,ratebypass,source&ipbits=0&ip=31.145.111.25&lmt=1500315296370559&itag=22&gcr=tr&ei=3SSbWc_KLMPkcOKgrYgI&id=o-APezT-XXhQnWUVxZP6jTTCYjrNFPvcgROCdTGniBv_O8&ratebypass=yes&key=cms1&pl=22&source=youtube&expire=1503361341&dur=289.552&mime=video%2Fmp4&signature=4BF64991FDE984E809625D1BB8BE6001ED630F54.0B904622F0BFFD496E329EF655CFEDA54B286EF0&title=Future+-+Mask+Off&cms_redirect=yes&mip=85.105.212.37&mm=31&mn=sn-nv47ln7e&ms=au&mt=1503345860&mv=mResult: This link works on another PC with a different IP. Note the mip parameter on this link, it sends my ip to Google. This link has different values as well, for example key parameter is cms1 instead of yt6, and it has an extra cms_redirect=yes. But I think those parameters changes signatures or something, because it doesn't work when I try to set them on link generated from youtube-dl.
Any suggestions?
Thanks.