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