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.
Can't download from youtube #3241
Comments
|
Hmm.. managed to solve it using some "stupid" method. |
|
Sorry, I don't follow. These two server names ( |
|
Those two server names aren't identical; one is "r4---sn-vgqs7nez", the other is "r4---sn-vgqs7n7k". I was watching this bug because I'm running into a similar problem. All video downloads that I'm attempting that would touch "r6---sn-vgqs7nez" are failing. Though, I'm not having as much luck in replacing "sn-vgqs7nez" with "sn-vgqs7n7k"; I'm getting a 403 when I attempt that.
I am assuming this is a problem on Google's end, and not youtube_dl's fault, as I'm also unable to load any of these videos in a web browser anywhere on my network, and looking at the source of the YouTube HTML pages my browsers are getting, they're also referencing the "r6---sn-vgqs7nez" server. If @chmdznr was able to succeed in downloading from a different googlevideo.com server, I'm wondering if, in situations like this, there may be a way for youtube-dl to try and find another server, and attempt from that, before giving up? |
|
Well,
That one got another host that works on my server: |
|
This appears to be a problem that many people are encountering with videos that are being fed from *vgqs7nez.googlevideo.com servers. See: |
This problem happened on my two servers and not happening on my other server. (all servers have different public IP address).
Verbose output:
root@debian:~# ./youtube-dl -v http://www.youtube.com/watch?v=ix3qdQkLnyY
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.youtube.com/watch?v=ix3qdQkLnyY']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.07.11.3
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.5
[debug] Proxy map: {}
[youtube] Setting language
[youtube] ix3qdQkLnyY: Downloading webpage
[youtube] ix3qdQkLnyY: Downloading video info webpage
[youtube] ix3qdQkLnyY: Extracting video information
[youtube] ix3qdQkLnyY: Encrypted signatures detected.
[youtube] encrypted signature length 82 (40.41), itag 22, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 82 (40.41), itag 43, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 82 (40.41), itag 18, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 82 (40.41), itag 5, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 82 (40.41), itag 36, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 82 (40.41), itag 17, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 83 (40.42), itag 137, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 83 (40.42), itag 248, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 83 (40.42), itag 136, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 83 (40.42), itag 247, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 83 (40.42), itag 135, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 83 (40.42), itag 244, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 83 (40.42), itag 134, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 83 (40.42), itag 243, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 83 (40.42), itag 133, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 83 (40.42), itag 242, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 83 (40.42), itag 160, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 83 (40.42), itag 140, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 83 (40.42), itag 171, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 82 (40.41), itag 137, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 82 (40.41), itag 248, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 82 (40.41), itag 136, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 82 (40.41), itag 247, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 82 (40.41), itag 135, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 82 (40.41), itag 244, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 82 (40.41), itag 134, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 82 (40.41), itag 243, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 82 (40.41), itag 133, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 82 (40.41), itag 242, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 82 (40.41), itag 160, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 82 (40.41), itag 140, html5 player en_US-vflXGBaUN
[youtube] encrypted signature length 82 (40.41), itag 171, html5 player en_US-vflXGBaUN
[debug] Invoking downloader on u'https://r4---sn-vgqs7nez.googlevideo.com/videoplayback?expire=1405134000&ratebypass=yes&ipbits=0&ms=au&gcr=us&ip=142.54.172.171&mv=m&key=yt5&itag=22&source=youtube&sparams=gcr%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&upn=in3Io5AQfyk&fexp=902408%2C914084%2C922520%2C924213%2C924217%2C924222%2C924621%2C929305%2C930008%2C930817%2C934024%2C934030%2C936927%2C948504&mt=1405111835&mws=yes&sver=3&requiressl=yes&id=o-APNTPQ4AadeRe_vjtlwbNHlwrqAkp9sgJ7yF1_F2csLI&signature=5292CBB2B10ED8E3840D04EB1D2BFB1544705B7D.2E721833F7E5055964D7E7426BA2CE3DB695E0C6'
ERROR: unable to download video data: ''
Traceback (most recent call last):
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 1022, in process_info
success = dl(filename, info_dict)
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 998, in dl
return fd.download(name, info)
File "./youtube-dl/youtube_dl/downloader/common.py", line 291, in download
return self.real_download(filename, info_dict)
File "./youtube-dl/youtube_dl/downloader/http.py", line 58, in real_download
data = self.ydl.urlopen(request)
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 1227, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 401, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 419, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
result = func(*args)
File "./youtube-dl/youtube_dl/utils.py", line 591, in https_open
return self.do_open(HTTPSConnectionV3, req)
File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
r = h.getresponse(buffering=True)
File "/usr/lib/python2.7/httplib.py", line 1034, in getresponse
response.begin()
File "/usr/lib/python2.7/httplib.py", line 407, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.7/httplib.py", line 371, in _read_status
raise BadStatusLine(line)
BadStatusLine: ''