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.
[Windows] network down error, exit-code is still 0 ("success") #15546
Comments
|
Most likely #13855 (comment)
|
|
it does runs in the same |
|
In any case the problem is outside youtube-dl. |
I've noticed that Windows error codes (
ERRORLEVEL) although useful does not work great inYouTube-dl,is there any chance of fixing it?
Specifically issues occur on
YouTube-dl's early stages,if the network is done for some reason during the "Downloading webpage",
you always get something like:
I've mocked the "network down" using a system-wide proxy (Fiddler), which on-close, kills the socket.
at the bottom of the batch file, right after the
YouTube-dlcall, I've includedecho ERRORLEVEL ==== %ERRORLEVEL%, and indeed it was0.the funny thing is that on my machine,
there is no user named
dst, soC:\Users\dst\does not make much sense,I've would expect
C:\Users\Elad(or C:\Users\All Users`),could it be possible a hard-coded thing?
I don't mind so much the actual error, or how gracefully it is handled,
just hoping for a clear exit-code, also, I guess I've RTFM.
Here is the complete output,
but you can ignore it - it will replicate each time if you kill the socket (using any method you'll like)