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.
Force youtube-dl to use a certain ip address #961
Comments
|
I thinks that's a duplicate of #721 |
|
Not at all. All i need is to know where i can modify the code in order to make thevideo information request use a certain ip. It will not affect the downloading process only the information extractor. |
|
It's the same, if you use a certain ip for the extraction, you can use the same ip for the download process, the user that open that issue just mention the download process, probably because that's the main use of youtube-dl or he referred to the whole extract/download process. Also as mentioned in that issue the links extracted with YoutubeIE will only work if you download them from the same IP, you need to change the IP for the whole process, not only the extraction. |
|
Oh okay. Thanks. |
|
by the way, hack fix in order to use a certain IP: replace: by import socket true_socket = socket.socket in init.py |
|
It would be really handy to bind to a specific IP like most linux-based tools all allow you to do. |
|
@Elite i couldnt find any pull request that have --bindip feature |
|
@codaman you should try the |
|
"youtube-dl.exe --source-address [IP] -g [url]" this implementation not working or wrong usage. i've read all documentation but there is no info about how to use "--source-address" |
|
@codaman As @dstftw told you already, we can and will not help you until you open a new issue where you describe your problem. See our bug reporting guidelines for what that description should contain. Most important is the output you get when you run youtube-dl with the |
Hi i want to know if it is possible to assign an interface to youtube-dl even if not by an option, maybe somewhere in the code.
I espescially need to get video information with a certain ip adress (report_video_info_webpage_download)
only thing i cant actually do is to set proxy option as the ip i want to use but it's a bit hacky.
Thanks