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.
"exec" option, but BEFORE downloading file #23921
Comments
|
|
|
It makes a sense, in my opinion. In the case of 429 error I need to catch error code, write a script to re run etc. My simplest idea is such:
In this situation I'll get 429 error minimum 3-4x times less. Also, 3-4 IPs gives me chance to never got 429 error because of "IP distribution" (runs for example 100x youtube-dl from one IP leads to 429 error, running 25x from 4 IPs - never). |
|
As already said you don't need any exec-before-download for such scenario. |
Checklist
Description
WRITE DESCRIPTION HERE
There is "-exec CMD" option, which allows to "Execute a command on the file after downloading [...]".
I'm trying to make workaround for "429: Too Many Requests" error with proxy changing "on the fly". Means - changing proxy every youtube-dl run.
Is there a way to run any script/command BEFORE file downloading?
If no - I'm requesting for this feature.