Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #618

Closed
kesavanm opened this issue Jan 5, 2013 · 7 comments
Closed

Error #618

kesavanm opened this issue Jan 5, 2013 · 7 comments

Comments

@kesavanm
Copy link

@kesavanm kesavanm commented Jan 5, 2013

When I try with this , I'm getting the following error. Did I miss something?

priya@localhost:~$ /usr/local/bin/youtube-dl http://www.youtube.com/watch?v=IutLHjlV4_k
[youtube] Setting language

WARNING: unable to set language: <urlopen error [Errno -3] Temporary failure in name resolution>
[youtube] IutLHjlV4_k: Downloading video webpage
ERROR: unable to download video webpage: <urlopen error [Errno -3] Temporary failure in name resolution>
priya@localhost:~$
@rg3
Copy link
Collaborator

@rg3 rg3 commented Jan 5, 2013

On Saturday, January 05, 2013 08:26:32 Kesavan Muthuvel wrote:

When I try with this , I'm getting the following error. Did I miss
something?

priya@localhost:~$ /usr/local/bin/youtube-dl
http://www.youtube.com/watch?v=IutLHjlV4_k [youtube] Setting language

WARNING: unable to set language: <urlopen error [Errno -3] Temporary
failure in name resolution> [youtube] IutLHjlV4_k: Downloading video
webpage
ERROR: unable to download video webpage: <urlopen error [Errno -3]
Temporary failure in name resolution> priya@localhost:~$

The error message is not displayed in the issue tracker but I received
it in the mail notification. It's

"urlopen error [Errno -3] Temporary failure in name resolution"

My guess is some kind of DNS problem outside youtube-dl.

@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Jan 6, 2013

[Edited the issue description to add code tags, thanks @rg3]

Almost sure this is a networking problem.
Please try also
dig www.youtube.com
ping www.youtube.com
curl www.youtube.com

@kesavanm
Copy link
Author

@kesavanm kesavanm commented Jan 6, 2013

That's right!
Seems my network is dead slow. Works fine now.

Thanks for your support.

priya@localhost:$ killall vlc
priya@localhost:
$ bin/muzic
priya@localhost:~$ youtube-dl https://www.youtube.com/watch?v=qj_i7YqDwJA
[youtube] Setting language
[youtube] qj_i7YqDwJA: Downloading video webpage
[youtube] qj_i7YqDwJA: Downloading video info webpage
[youtube] qj_i7YqDwJA: Extracting video information
[download] Destination: qj_i7YqDwJA.flv
[download] 8.8% of 56.84M at 23.41k/s ETA 37:47

@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Jan 6, 2013

Great!
You're welcome, have a nice day.

@FiloSottile FiloSottile closed this Jan 6, 2013
@phihag
Copy link
Contributor

@phihag phihag commented Jan 6, 2013

We may want to look into hooking in to the DNS resolution process in Python, in order to someday provide a custom fallback or at least better error messages. That way, we could also work around the DNS issues on travis.

@michu1989
Copy link

@michu1989 michu1989 commented Jun 23, 2019

I had a similar problem.

youtube-dl https://youtu.be/i50jx4pMGTw
[youtube] i50jx4pMGTw: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno -3] Temporary failure in name resolution> (caused by URLError(gaierror(-3, 'Temporary failure in name resolution'),))

and

youtube-dl https://youtu.be/i50jx4pMGTw
[youtube] i50jx4pMGTw: Downloading webpage
[youtube] i50jx4pMGTw: Downloading video info webpage
ERROR: i50jx4pMGTw: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

I am using ubuntu on WSL Windows 10. At the beginning I installed the program by:
sudo apt-get install youtube-dl

The attempt to download any movie ended with the above errors.

I found this solution on the Ubuntu forum.

 sudo apt-get remove youtube-dl
sudo apt-get install python-pip  
sudo pip install youtube-dl  

It worked for me.

@Nottt
Copy link

@Nottt Nottt commented May 27, 2020

I think most people coming here from google only wants to know if there's a flag or something to just retry or keep retrying for X amount of time.

When you are doing big downloads, or a playlist, it's really annoying if this happens and you waste everything you have already downloaded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants
You can’t perform that action at this time.