V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
wrcbrrdharm
V2EX  ›  问与答

有人用 coursera-dl 吗? 下载报错

  •  
  •   wrcbrrdharm · 2016-04-22 21:46:26 +08:00 · 897 次点击
    这是一个创建于 2977 天前的主题,其中的信息可能已经有所发展或是发生改变。
    proxychains4 coursera-dl -u user -p password  -f "mp4" --resume r-programming
    
    [proxychains] config file found: /usr/local/Cellar/proxychains-ng/4.7/etc/proxychains.conf
    [proxychains] preloading /usr/local/Cellar/proxychains-ng/4.7/lib/libproxychains4.dylib
    [proxychains] DLL init
    [proxychains] DLL init
    Downloading class: r-programming
    Starting new HTTPS connection (1): class.coursera.org
    [proxychains] Strict chain  ...  127.0.0.1:1080  ...  class.coursera.org:443  ...  OK
    /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
      SNIMissingWarning
    /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
      InsecurePlatformWarning
    404 Client Error: Not Found for url: https://class.coursera.org/r-programming
    Starting new HTTPS connection (1): www.coursera.org
    [proxychains] Strict chain  ...  127.0.0.1:1080  ...  www.coursera.org:443  ...  OK
    /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
      InsecurePlatformWarning
    Traceback (most recent call last):
      File "/Library/Frameworks/Python.framework/Versions/2.7/bin/coursera-dl", line 9, in <module>
        load_entry_point('coursera==0.5.2', 'console_scripts', 'coursera-dl')()
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/coursera/coursera_dl.py", line 1056, in main
        if download_class(args, class_name):
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/coursera/coursera_dl.py", line 1034, in download_class
        return download_on_demand_class(args, class_name)
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/coursera/coursera_dl.py", line 973, in download_on_demand_class
        login(session, args.username, args.password)
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/coursera/cookies.py", line 121, in login
        headers=headers, allow_redirects=False)
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/sessions.py", line 511, in post
        return self.request('POST', url, data=data, json=json, **kwargs)
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/sessions.py", line 468, in request
        resp = self.send(prep, **send_kwargs)
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/sessions.py", line 576, in send
        r = adapter.send(request, **kwargs)
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/adapters.py", line 447, in send
        raise SSLError(e, request=request)
    requests.exceptions.SSLError: [Errno 1] _ssl.c:507: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure
    
    

    上午刚下了个 neuralnets 然后不知道怎么回事突然就不行了

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1313 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 17:26 · PVG 01:26 · LAX 10:26 · JFK 13:26
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.