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

Please add this only decent way to bind a specific ip address tou youtube-dl #2379

Closed
vanilla38 opened this issue Feb 12, 2014 · 1 comment
Closed

Comments

@vanilla38
Copy link

@vanilla38 vanilla38 commented Feb 12, 2014

Hi, I use youtube-dl since for more than 2 years now and to avoid 402 error I added a new option to source code (--bind-address) i know that there are a to of ways to force a program to use a specific IP with LD_PRELOAD etc... But this is hacky and i think more and more people need to use IPV6 which is a pain to handle...

I usually use bitbucket repositories with tortoise SVN this is why i cant give you a Pull request, i tried like 3 times to give you the little code to add to implement this new option, this is easy, please add it because atm, I must change my code on each major modification of the program...

Original link with detailed code to bind an IPV4/IPV6 address to the python socket:
http://stackoverflow.com/questions/1150332/source-interface-with-python-and-urllib2

see my other issues about this topic.

Thanks in advance.

@phihag
Copy link
Contributor

@phihag phihag commented Feb 13, 2014

Duplicate of #2334. We would prefer not to meddle with the global Python socket's settings.

@phihag phihag closed this Feb 13, 2014
@aivarsk aivarsk mentioned this issue Aug 31, 2014
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.