wrcbrrdharm
V2EX  ›  问与答

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

  •  
  •   wrcbrrdharm · Apr 22, 2016 · 1366 views
    This topic created in 3677 days ago, the information mentioned may be changed or developed.
    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 然后不知道怎么回事突然就不行了

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3684 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 04:49 · PVG 12:49 · LAX 21:49 · JFK 00:49
    ♥ Do have faith in what you're doing.