ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
131.23k stars 9.93k forks source link

niconico unable to log in: <urlopen error [Errno 104] Connection reset by peer> #5551

Closed 3x14 closed 9 years ago

3x14 commented 9 years ago

Ensured credentials are correct, but continues to give an error message.

yan12125 commented 9 years ago

Please post the full verbose log with --verbose option

3x14 commented 9 years ago
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.nicovideo.jp/watch/sm10000', '-u', '<PRIVATE>', '--verbose']
[debug] Encodings: locale 'ANSI_X3.4-1968', fs 'ANSI_X3.4-1968', out 'ANSI_X3.4-1968', pref: 'ANSI_X3.4-1968'
Type account password and press return:
[debug] youtube-dl version 2014.02.17
[debug] Python version 2.7.6 - Linux-3.13.0-29-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] Proxy map: {}
[niconico] : Logging in
ERROR: Unable to log in: <urlopen error [Errno 104] Connection reset by peer>
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 191, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1157, in urlopen
    return self._opener.open(req)
  File "/usr/lib/python2.7/urllib2.py", line 404, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 422, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/utils.py", line 572, in https_open
    return self.do_open(HTTPSConnectionV3, req)
  File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
    raise URLError(err)
yan12125 commented 9 years ago

Thanks for the report, the video can be downloaded in the next version of youtube-dl.