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] download error for too many connections on default downloader + workaround #14075
Comments
|
? |
I've made a little batch file to process a text-file with URLs, and to fire many
youtube-dl.exeprocesses, one for URL- essentially a "parallel downloader".I've noticed that the first three got connected and the rest were usually ended with an unable to open connection error,
it usually meant I need to run the batch again until all of the processes would finish, the issue was usually after the page and the player js were fetched and the download should have started..
It is probably an issue with the default downloader,
once I've switched to using the external-downloader
aria2call of the opened connections are managed without any issue.I've since than updated my batches in github.com/eladkarako/youtube-dl-p to use the workaround.
but if you want to replicate the issue place
youtube-dl.exealong with those two batch files and text file in the same folder, then runvideos.cmd:item.cmdvideos.cmdvideos.txtYou should expect few successful downloads starting,

and few CMD windows showing something like this:
Ps.
the amount of half-open connection I allowed in my Windows machine,
was tweaked to allow more than 9000 opened-connections at the same time, so it should replicate successfully on other computers too...