Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[YoutubeDL] Download from another machine with a different IP doesn't work. #13984

Closed
barisahmet opened this issue Aug 21, 2017 · 5 comments
Closed
Labels

Comments

@barisahmet
Copy link

@barisahmet barisahmet commented Aug 21, 2017

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.08.18. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2017.08.18

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

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=xvZqHgFz51I

Output: 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.2A0BF8EAF135D18120808511174DE5C687C6268C

Result: 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=m

Result: 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.

@Hrxn
Copy link

@Hrxn Hrxn commented Aug 21, 2017

And both really result in the same format?

@barisahmet
Copy link
Author

@barisahmet barisahmet commented Aug 21, 2017

What do you mean? If you mean file format, yes. Both are MP4.

@Hrxn
Copy link

@Hrxn Hrxn commented Aug 21, 2017

Yes, but also same checksum, etc. ?

@barisahmet
Copy link
Author

@barisahmet barisahmet commented Aug 21, 2017

Yes, they have same md5 checksum. Just checked it now.

@dstftw dstftw closed this Aug 22, 2017
@dstftw dstftw added the invalid label Aug 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.