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.
Block a particular server url or force to resend request to get content from another server #16072
Comments
|
Automatically - not possible. Though you can filter out formats by some criteria inherent to the slow server with format selection. |
|
The format selection won't give any control on which server url to block. In the youtube-dl.py, if you can help me with which method is responsible to request for the server url and get the response then i can write an if condition to block unwanted urls and re-request. Keep changes local and compile and use it. |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.03.26.1. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
Description of your issue, suggested solution and other information
When sending request to download a video to an url, the downloader is getting invoked on one of the two servers. One of the servers is very slow in transferring content, due to which video download is very slow. While the other server is quite fast. Is it possible to block the slow server url so that youtube-dl always invokes the other server. Else anyway to keep re-sending the request for the target url, if the slow server responds the first time, till any other server except the slow server responds.
Thanks