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.
[Youtube] urlopen error [Errno 101] Network is unreachable #22812
Comments
|
most likely a network issue on your side:
|
|
This is definitely not a network issue, though the underlying error seems to indicate that. The error persists only for certain files irrespective of how much time has passed by. When a file fails, it consistently fails, which is so unlike a network error. |
|
as you can see from the output the same files you're trying to download without failing at all, so it's either a problem in you're network or the servers selected by youtube.com for you.
|
|
Use proxy. Also possible similar to this |
|
I'm curious, are any of you guys trying to download the links on google servers? I only had network unreachable errors when I was running youtube-dl on google compute engine. |
Yup, that seems to work. I am not sure what is the problem, but looks like hiding my location / region seems to work. |
Checklist
Verbose log
Description
WRITE DESCRIPTION HERE
I am able to download most files from youtube but it consistently fails for certain files with the error
<urlopen error [Errno 101] Network is unreachable>The file is generally partially downloaded and if I try downloading them in a while loop it continues to download but consistently fails after maybe 1-2% progress irrespective of the file size.
Or it can get stuck at the initial stage say
Resuming download at byte 40814096The failure consistently happens only with certain files. I have seen this occurring from past 1 month or so. It was present even when I tried with
2019.08.02and continues with the present version too.E.gs of failing files are:
tahOuqFS8kM
l7TONauJGfc
My current work around is to download it with the following script