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.
Get exit status of youtube-dl.exe in batch script #13855
Comments
|
|
|
How ignorant of me, thank you. This now solves my problem:
I would still love it if this feature would be added. |
Hi, I am trying to write a simple batch script because my downloads keep returning this error:
ERROR: content too short (expected 3432356 bytes and served 2830796)and I want them to auto retry until successful.I wrote the following:
But even when there is an error it will go to Success. How can I get the exit status of youtube-dl.exe in my if statement?
Thanks!
BTW: it would be awesome if there would be an option to retry until successful in youtube-dl itself. Then it could also be robust against wrong urls.