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

Whitelisting IP for youtube-dl #8598

Closed
nadermx opened this issue Feb 18, 2016 · 3 comments
Closed

Whitelisting IP for youtube-dl #8598

nadermx opened this issue Feb 18, 2016 · 3 comments

Comments

@nadermx
Copy link

@nadermx nadermx commented Feb 18, 2016

Is there any way to send our server key with the request of the ip when scraping with youtube-dl? If not is it normally enough to just put the ip in the whitelist for the youtube data api? I still randomly keep getting 429's and from the gists I have seen that this is due to too many requests, but I have the ip in the youtube api data whitelist. So not sure if I am missing something.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 18, 2016

What do you mean by our server key? youtube-dl does not use any kind of youtube APIs apart from those used by a webplayer.

@nadermx
Copy link
Author

@nadermx nadermx commented Feb 18, 2016

Sorry, meant youtube's api key in their console. So what I am understanding is if I am hitting the 429 request error even if i white list the IP in google's console that wont solve the problem. I have to run my requests through proxies then?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 18, 2016

Well, I have no idea what privileges whitelisted IP in google's console offers and whether it also affects web requests or not but youtube-dl does not use any official youtube APIs on purpose. You can specify different IP with --source-address if you have any or use --proxy or torify/socksify/whatever.

@dstftw dstftw closed this Feb 18, 2016
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
2 participants
You can’t perform that action at this time.