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: unable to download video data: <urlopen error [Errno 11004] getaddrinfo failed> #3201

Closed
ashwin92 opened this issue Jul 5, 2014 · 4 comments

Comments

@ashwin92
Copy link

@ashwin92 ashwin92 commented Jul 5, 2014

Windows 7(32 Bit).

It was fine till yesterday and I made a few downloads. No software updates recently. Just installed wo-mic client.

Getting this Error in my cmd prompt over any video I try.

Note:
When I try this cmd::
C:\Users\Public\Technical Stuff>youtube-dl.exe -F "https://www.youtube.com/watch?v=FQZbDVaT39Q"
[youtube] Setting language
[youtube] FQZbDVaT39Q: Downloading webpage
[youtube] FQZbDVaT39Q: Downloading video info webpage
[youtube] FQZbDVaT39Q: Extracting video information
[info] Available formats for FQZbDVaT39Q:
format code extension resolution note
171 webm audio only DASH audio , audio@ 48k (worst)
140 m4a audio only DASH audio , audio@128k
160 mp4 144p DASH video , video only
242 webm 240p DASH video , video only
133 mp4 240p DASH video , video only
243 webm 360p DASH video , video only
134 mp4 360p DASH video , video only
244 webm 480p DASH video , video only
135 mp4 480p DASH video , video only
247 webm 720p DASH video , video only
136 mp4 720p DASH video , video only
248 webm 1080p DASH video , video only
137 mp4 1080p DASH video , video only
17 3gp 176x144
36 3gp 320x240
5 flv 400x240
43 webm 640x360
18 mp4 640x360
22 mp4 1280x720 (best)

I get the various formats.

But when I try to download a video, I get this Error.

C:\Users\Public\Technical Stuff>youtube-dl.exe "https://www.youtube.com/watch?v=FQZbDVaT39Q"
[youtube] Setting language
[youtube] FQZbDVaT39Q: Downloading webpage
[youtube] FQZbDVaT39Q: Downloading video info webpage
[youtube] FQZbDVaT39Q: Extracting video information
ERROR: unable to download video data: <urlopen error [Errno 11004] getaddrinfo failed>

No updates as of yet I suppose.
My version of youtube-dl

C:\Users\Public\Technical Stuff>youtube-dl.exe --version
2014.06.26

C:\Users\Public\Technical Stuff>youtube-dl.exe --update
youtube-dl is up-to-date (2014.06.26)

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jul 7, 2014

Please post the output of youtube-dl.exe "https://www.youtube.com/watch?v=FQZbDVaT39Q" --verbose

@shashaanktulsyan
Copy link

@shashaanktulsyan shashaanktulsyan commented Jul 7, 2014

Hi,
Sorry to interrupt, but I am facing the same issue.
Here is the output of youtube-dl.exe "https://www.youtube.com/watch?v=KZ_1ot0NohI" --verbose (note I am trying a different link)


F:\neembuu\release1_development_environment>youtube-dl "http://www.youtube.com/w
atch?v=KZ_1ot0NohI" --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.youtube.com/watch?v=KZ_1ot0NohI', '--ver
bose']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2014.06.26
[debug] Python version 2.7.5 - Windows-7-6.1.7600
[debug] Proxy map: {}
[youtube] Setting language
[youtube] KZ_1ot0NohI: Downloading webpage
[youtube] KZ_1ot0NohI: Downloading video info webpage
[youtube] KZ_1ot0NohI: Extracting video information
ERROR: unable to download video data: 
Traceback (most recent call last):
  File "youtube_dl\YoutubeDL.pyo", line 1020, in process_info
  File "youtube_dl\YoutubeDL.pyo", line 996, in dl
  File "youtube_dl\downloader\common.pyo", line 291, in download
  File "youtube_dl\downloader\http.pyo", line 58, in real_download
  File "youtube_dl\YoutubeDL.pyo", line 1225, in urlopen
  File "urllib2.pyo", line 404, in open
  File "urllib2.pyo", line 422, in _open
  File "urllib2.pyo", line 382, in _call_chain
  File "youtube_dl\utils.pyo", line 591, in https_open
  File "urllib2.pyo", line 1184, in do_open
URLError: 
F:\neembuu\release1_development_environment>youtube-dl.exe --update
youtube-dl is up-to-date (2014.06.26)

Additional comments
When I use the -j option I get the following output

{
   "display_id":"KZ_1ot0NohI",
   "upload_date":"20140212",
   "description":"9th February, 2014\nIn today's morning Satsang, Paramahamsa Nithyananda details the importance of completing all aspects of our root pattern. In addition to pulling atree out from the ground, we need to burn the ground, making sure the roots can't re-sprout again. In the same way, once we complete with our root pattern, we still need to burn our consciousness so that the root pattern cannot come back to life, negatively affecting us again. This powerful process is called Complete Completion. Through Complete Completion, we experience the Ultimate -- the Divine, God, Mahadeva!\nhttp://www.nithyananda.org\nhttp://nithyananda.tv\nhttp://innerawakening.org\n\nTRANSCRIPTIONS:-\nI welcome all of you with my love and blessings.\n\nToday, in the Inner Awakening, we are going to be working on \"CompleteCompletion\".\n\nPlease understand, just by removing a tree completely, just byuprooting a tree, you cannot be safe that nothing else will grow in that place or that tree won't happen again in that place. No! You need to understand a veryimportant thing. You just see here outside, on the ground where Nithyananda Sabha is going to be built, there were hundreds of Neem trees. We uprooted all of them and cleared the land. But go and see; at least fifty Neem trees are again back! Even if you uproot the tree, the essence of the tree stays in the ground. So, when the water comes, and the Sun comes, the tree starts happening again. There are some trees, you don't need a full tree for that tree to happen; just the essence of that tree is enough in the mud; it will grow! There is a herb; just the essence of that herb is enough; it will grow! Same way, just removing your root-pattern is not going to completely liberate you. How to stop the tree from happening again? How to make sure the tree will not happen again? How to make sure the tree is not going to sprout again? Burning, boiling the very root, the very land, so that the root can never sprout. Same way, burning your consciousness, purifying to the root from where even the root-patterns cannot grow; that is whatI call \"Complete Completion\". \"Manonmaniya Vidya\" in Sanskrit we call it. \"Mana Unmana\" -- \"Awakening the Inner Space\". Awakening the inner-space -- \"Mana Unmana\". Please listen, awakening the inner-space. With this process of Complete Completion, we make sure that even if there is a smell or the essence of the root-patterns existing in the ground, in the soil, it does not sprout again,it does not grow again.\n\nMahadevi, Rajarajeshwari is gracing us on the fourthday of the Brahmotsavam as the Manonmani. Fourth day today, it is the Rajarajeshwari Brahmotsavam. Devi is gracing us on the Suvarna Gaja Vahana, Golden Elephant Vahana and gracing as Manonmani.\n\nManonmani, please understand, \"Mana Unmana\". \"Unmana\" means \"awakening\". \"Mana\" means \"inner space\". The Complete Completion awakens your inner-space completely and does not allow any leftover, unattended roots of the root-patterns. For a Neem tree to happen again, one inch old root is enough. Please understand, just if an inch-length old root is left without being removed, the tree will happen again; you don't need a seed! Fora Banyan tree to happen again, just a three inch root if it is left without being removed from the land, that is enough; it will happen again; you don't need aseed! For your root-patterns to grow again, you don't need to leave three inch or one inch; just if you go back and see the same people, it is enough! If you see the same people who are responsible for your root-pattern, that is enough! Understand, the Complete Completion is like ensuring the safety, ensuring the spiritual protection.\n\nToday, in the Inner Awakening program, we are going to be doing the process for Complete Completion. See, with the Complete Completion, theliberated thinking starts in your system. \"Liberated Thinking\" means, awakening all the powers for which your body is built. Please understand, there are some people who have the latest, best cell-phones, but they don't even know how to send an SMS! They can only switch on, speak, switch off and keep it. For that you don't need the best, latest-model seven-thousand rupees, eight-thousand rupeescell-phone. Just eight-hundred rupees, nine-hundred rupees cell-phone is enough. Having the best, updated, seven to eight-thousand rupees cell-phone, but not knowing how to use all the facilities in it, just you pick up, speak, and leave it back, this is what most of us are doing with our body! Our body is basically hard-wired, our brain is hard-wired, the system is developed to experience so many extraordinary powers. Understand, you are not built just to be a Clerk, just to be an Attendant, or just to be a worker. Your being is basically built in to experience God, to experience the divine, to experience the Ultimate, to experience Complete Completion, to experience Mahadeva! Understand, your body is basically built for experiencing many extraordinary things.",
   "uploader_id":"LifeBlissFoundation",
   "extractor":"youtube",
   "height":360,
   "thumbnail":"https://i1.ytimg.com/vi/KZ_1ot0NohI/maxresdefault.jpg",
   "_filename":"Burning the Roots is complete completion-KZ_1ot0NohI.mp4",
   "like_count":23,
   "uploader":"LifeBlissFoundation",
   "duration":2742,
   "format_id":"18",
   "player_url":null,
   "id":"KZ_1ot0NohI",
   "categories":[
      "Nonprofits & Activism"
   ],
   "stitle":"Burning the Roots is complete completion",
   "view_count":1027,
   "playlist":null,
   "title":"Burning theRoots is complete completion",
   "url":"https://r2---sn-h557sn7y.googlevideo.com/videoplayback?sparams=id%2Cip%2Cipbits%2Citag%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&key=yt5&ip=117.198.38.154&upn=IWAouK3G1rM&fexp=900359%2C902408%2C924213%2C924217%2C924222%2C930008%2C934024%2C934030&itag=18&id=o-AClRWRxiIRRIWptQIUNydb1EIHOg5fI9mXlOst9dFDcC&requiressl=yes&mws=yes&mv=m&mt=1404739589&ms=au&signature=661863974D25372FCC34164D0ABC468885D87BAC.84EB24094A6748F2FE6902E2DBA316D53413352D&ratebypass=yes&ipbits=0&source=youtube&sver=3&expire=1404763200",
   "extractor_key":"Youtube",
   "format":"18 - 640x360",
   "playlist_index":null,
   "dislike_count":1,
   "width":640,
   "ext":"mp4",
   "subtitles":null,
   "webpage_url":"https://www.youtube.com/watch?v=KZ_1ot0NohI",
   "formats":[
      {
         "format":"140 - audioonly (DASH audio)",
         "url":"https://r2---sn-h557sn7y.googlevideo.com/videoplayback?sparams=clen%2Cdur%2Cgir%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Crequiressl%2Csource%2Cupn%2Cexpire&key=yt5&ip=117.198.38.154&upn=WgYnsrxjMbY&signature=9FAC3A560BA21BECE7DF4C711183988F7629FA60.342C0ED909060A5A0546F4D6356A9A8FFE8B21A5&mv=m&lmt=1392435550819544&itag=140&ipbits=0&requiressl=yes&mws=yes&gir=yes&mt=1404739589&ms=au&dur=2741.138&id=o-AClRWRxiIRRIWptQIUNydb1EIHOg5fI9mXlOst9dFDcC&fexp=900359%2C902408%2C924213%2C924217%2C924222%2C930008%2C934024%2C934030&source=youtube&sver=3&expire=1404763200&clen=43535492&ratebypass=yes",
         "vcodec":"none",
         "format_note":"DASH audio",
         "abr":128,
         "player_url":null,
         "ext":"m4a",
         "preference":-50,
         "format_id":"140"
      },
      {
         "format":"160 - 144p (DASH video)",
         "url":"https://r2---sn-h557sn7y.googlevideo.com/videoplayback?sparams=clen%2Cdur%2Cgir%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Crequiressl%2Csource%2Cupn%2Cexpire&key=yt5&ip=117.198.38.154&upn=WgYnsrxjMbY&signature=A70C340D5F979F01B5CB09A6E5F0B99D5A94C4F8.7FFD60CCA70DAEB65C80D2A1FA05F8B5D6E56039&mv=m&lmt=1392435553878714&itag=160&ipbits=0&requiressl=yes&mws=yes&gir=yes&mt=1404739589&ms=au&dur=2741.041&id=o-AClRWRxiIRRIWptQIUNydb1EIHOg5fI9mXlOst9dFDcC&fexp=900359%2C902408%2C924213%2C924217%2C924222%2C930008%2C934024%2C934030&source=youtube&sver=3&expire=1404763200&clen=39482289&ratebypass=yes",
         "format_note":"DASH video",
         "player_url":null,
         "ext":"mp4",
         "preference":-40,
         "format_id":"160",
         "height":144,
         "acodec":"none"
      },
      {
         "format":"133 - 240p (DASH video)",
         "url":"https://r2---sn-h557sn7y.googlevideo.com/videoplayback?sparams=clen%2Cdur%2Cgir%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Crequiressl%2Csource%2Cupn%2Cexpire&key=yt5&ip=117.198.38.154&upn=WgYnsrxjMbY&signature=C547C0E00E6C587AAE73ADE9E356A8041FAA2053.BC13CE3CBDCBF0319AE0020904EA81A6F7B356C9&mv=m&lmt=1392435552854977&itag=133&ipbits=0&requiressl=yes&mws=yes&gir=yes&mt=1404739589&ms=au&dur=2741.041&id=o-AClRWRxiIRRIWptQIUNydb1EIHOg5fI9mXlOst9dFDcC&fexp=900359%2C902408%2C924213%2C924217%2C924222%2C930008%2C934024%2C934030&source=youtube&sver=3&expire=1404763200&clen=88613090&ratebypass=yes",
         "format_note":"DASH video",
         "player_url":null,
         "ext":"mp4",
         "preference":-40,
         "format_id":"133",
         "height":240,
         "acodec":"none"
      },
      {
         "format":"134 - 360p (DASH video)",
         "url":"https://r2---sn-h557sn7y.googlevideo.com/videoplayback?sparams=clen%2Cdur%2Cgir%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Crequiressl%2Csource%2Cupn%2Cexpire&key=yt5&ip=117.198.38.154&upn=WgYnsrxjMbY&signature=7D9D3D88DB22F00C4374C0E66C4A0FE17BDC85FB.3BD04305E447237476FB735F866B3E5164EA9691&mv=m&lmt=1392435564884901&itag=134&ipbits=0&requiressl=yes&mws=yes&gir=yes&mt=1404739589&ms=au&dur=2741.041&id=o-AClRWRxiIRRIWptQIUNydb1EIHOg5fI9mXlOst9dFDcC&fexp=900359%2C902408%2C924213%2C924217%2C924222%2C930008%2C934024%2C934030&source=youtube&sver=3&expire=1404763200&clen=85180433&ratebypass=yes",
         "format_note":"DASH video",
         "player_url":null,
         "ext":"mp4",
         "preference":-40,
         "format_id":"134",
         "height":360,
         "acodec":"none"
      },
      {
         "format":"135 - 480p (DASH video)",
         "url":"https://r2---sn-h557sn7y.googlevideo.com/videoplayback?sparams=clen%2Cdur%2Cgir%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Crequiressl%2Csource%2Cupn%2Cexpire&key=yt5&ip=117.198.38.154&upn=WgYnsrxjMbY&signature=D50861123716558C76E3C061450A68F058E65C5B.65D336C10E2392185F3E565EAD74E510A2A33F06&mv=m&lmt=1392435568875736&itag=135&ipbits=0&requiressl=yes&mws=yes&gir=yes&mt=1404739589&ms=au&dur=2741.041&id=o-AClRWRxiIRRIWptQIUNydb1EIHOg5fI9mXlOst9dFDcC&fexp=900359%2C902408%2C924213%2C924217%2C924222%2C930008%2C934024%2C934030&source=youtube&sver=3&expire=1404763200&clen=153549829&ratebypass=yes",
         "format_note":"DASH video",
         "player_url":null,
         "ext":"mp4",
         "preference":-40,
         "format_id":"135",
         "height":480,
         "acodec":"none"
      },
      {
         "width":176,
         "ext":"3gp",
         "format":"17 - 176x144",
         "url":"https://r2---sn-h557sn7y.googlevideo.com/videoplayback?sparams=id%2Cip%2Cipbits%2Citag%2Crequiressl%2Csource%2Cupn%2Cexpire&key=yt5&ip=117.198.38.154&upn=IWAouK3G1rM&fexp=900359%2C902408%2C924213%2C924217%2C924222%2C930008%2C934024%2C934030&itag=17&id=o-AClRWRxiIRRIWptQIUNydb1EIHOg5fI9mXlOst9dFDcC&requiressl=yes&mws=yes&mv=m&mt=1404739589&ms=au&signature=58DD37AAEA2B9774EC37DA606E5111140A36C730.2049582914097AD715BB52FCD63F00DCB16AAC6E&ipbits=0&source=youtube&sver=3&expire=1404763200&ratebypass=yes",
         "format_id":"17",
         "height":144,
         "player_url":null
      },
      {
         "width":320,
         "ext":"3gp",
         "format":"36 - 320x240",
         "url":"https://r2---sn-h557sn7y.googlevideo.com/videoplayback?sparams=id%2Cip%2Cipbits%2Citag%2Crequiressl%2Csource%2Cupn%2Cexpire&key=yt5&ip=117.198.38.154&upn=IWAouK3G1rM&fexp=900359%2C902408%2C924213%2C924217%2C924222%2C930008%2C934024%2C934030&itag=36&id=o-AClRWRxiIRRIWptQIUNydb1EIHOg5fI9mXlOst9dFDcC&requiressl=yes&mws=yes&mv=m&mt=1404739589&ms=au&signature=112C7025356B623FE414B0B62FEEF48D98581A9B.EF81DEB45CA4964F31AB8CCEDAB3902650A02816&ipbits=0&source=youtube&sver=3&expire=1404763200&ratebypass=yes",
         "format_id":"36",
         "height":240,
         "player_url":null
      },
      {
         "width":400,
         "ext":"flv",
         "format":"5 - 400x240",
         "url":"https://r2---sn-h557sn7y.googlevideo.com/videoplayback?sparams=id%2Cip%2Cipbits%2Citag%2Crequiressl%2Csource%2Cupn%2Cexpire&key=yt5&ip=117.198.38.154&upn=IWAouK3G1rM&fexp=900359%2C902408%2C924213%2C924217%2C924222%2C930008%2C934024%2C934030&itag=5&id=o-AClRWRxiIRRIWptQIUNydb1EIHOg5fI9mXlOst9dFDcC&requiressl=yes&mws=yes&mv=m&mt=1404739589&ms=au&signature=4BC3D493B9868225C926C6231EF5F221FA0823D7.0B23454B590207F496DC4C2058DD47F432806717&ipbits=0&source=youtube&sver=3&expire=1404763200&ratebypass=yes",
         "format_id":"5",
         "height":240,
         "player_url":null
      },
      {
         "width":640,
         "ext":"webm",
         "format":"43 - 640x360",
         "url":"https://r2---sn-h557sn7y.googlevideo.com/videoplayback?sparams=id%2Cip%2Cipbits%2Citag%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&key=yt5&ip=117.198.38.154&upn=IWAouK3G1rM&fexp=900359%2C902408%2C924213%2C924217%2C924222%2C930008%2C934024%2C934030&itag=43&id=o-AClRWRxiIRRIWptQIUNydb1EIHOg5fI9mXlOst9dFDcC&requiressl=yes&mws=yes&mv=m&mt=1404739589&ms=au&signature=2357FEA8F705C2034F3E9B2183536E080229F383.AA12F4CC35B9F0A90121F7F3D478122639D85D32&ratebypass=yes&ipbits=0&source=youtube&sver=3&expire=1404763200",
         "format_id":"43",
         "height":360,
         "player_url":null
      },
      {
         "width":640,
         "ext":"mp4",
         "format":"18 - 640x360",
         "url":"https://r2---sn-h557sn7y.googlevideo.com/videoplayback?sparams=id%2Cip%2Cipbits%2Citag%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&key=yt5&ip=117.198.38.154&upn=IWAouK3G1rM&fexp=900359%2C902408%2C924213%2C924217%2C924222%2C930008%2C934024%2C934030&itag=18&id=o-AClRWRxiIRRIWptQIUNydb1EIHOg5fI9mXlOst9dFDcC&requiressl=yes&mws=yes&mv=m&mt=1404739589&ms=au&signature=661863974D25372FCC34164D0ABC468885D87BAC.84EB24094A6748F2FE6902E2DBA316D53413352D&ratebypass=yes&ipbits=0&source=youtube&sver=3&expire=1404763200",
         "format_id":"18",
         "height":360,
         "player_url":null
      }
   ],
   "fulltitle":"Burning the Roots is complete completion",
   "age_limit":0,
   "annotations":null,
   "webpage_url_basename":"watch"
}

However when I try opening any one of the link on firefox or anything for that matter, I get the error
Server not found.
This youtube video for some odd reason is not playing even on firefox. ( That is if I try opening it normally ). However it works on chrome.
Does youtube respond differently to chrome user-agent or chrome sends some custom http header or some cookie ?

Please let me know how I can help in fixing this :)
Thanks

@ashwin92 ashwin92 closed this Jul 8, 2014
@ashwin92 ashwin92 reopened this Jul 8, 2014
@ashwin92
Copy link
Author

@ashwin92 ashwin92 commented Jul 8, 2014

  C:\Users\admin\Desktop\QB\UBUNTU ONE CONTENT>youtube-dl.exe         "https://www.youtube.com/watch?v=FQZbDVaT39Q" --verbose
  [debug] System config: []
  [debug] User config: []
  [debug] Command-line args: ['https://www.youtube.com/watch?v=FQZbDVaT39Q', '--ve
  rbose']
  [debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
  [debug] youtube-dl version 2014.06.26
  [debug] Python version 2.7.5 - Windows-7-6.1.7601-SP1
  [debug] Proxy map: {}
  [youtube] Setting language
  [youtube] FQZbDVaT39Q: Downloading webpage
  [youtube] FQZbDVaT39Q: Downloading video info webpage
  [youtube] FQZbDVaT39Q: Extracting video information
  ERROR: unable to download video data: <urlopen error [Errno 11004] getaddrinfo f
  ailed>
  Traceback (most recent call last):
  File "youtube_dl\YoutubeDL.pyo", line 1020, in process_info
  File "youtube_dl\YoutubeDL.pyo", line 996, in dl
  File "youtube_dl\downloader\common.pyo", line 291, in download
  File "youtube_dl\downloader\http.pyo", line 58, in real_download
  File "youtube_dl\YoutubeDL.pyo", line 1225, in urlopen
  File "urllib2.pyo", line 404, in open
  File "urllib2.pyo", line 422, in _open
  File "urllib2.pyo", line 382, in _call_chain
  File "youtube_dl\utils.pyo", line 591, in https_open
  File "urllib2.pyo", line 1184, in do_open
  URLError: <urlopen error [Errno 11004] getaddrinfo failed>


  C:\Users\admin\Desktop\QB\UBUNTU ONE CONTENT>
@Teazane
Copy link

@Teazane Teazane commented Feb 6, 2019

As suggested here, maybe you should check your proxy settings : https://stackoverflow.com/questions/5022945/urllib2-urlerror-urlopen-error-errno-11004-getaddrinfo-failed

@dstftw dstftw closed this Feb 29, 2020
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
5 participants
You can’t perform that action at this time.