Traceback (most recent call last):


 "/usr/local/bin/hyper", line 7, in <module>

from hyper.cli import main


 "/usr/local/lib/python2.7/dist-packages/hyper/__init__.py", line 11, in <module>

from .common.connection import HTTPConnection


 "/usr/local/lib/python2.7/dist-packages/hyper/common/connection.py", line 10, in <module>

from ..http20.connection import HTTP20Connection


 "/usr/local/lib/python2.7/dist-packages/hyper/http20/connection.py", line 35, in <module>

TRANSIENT_SSL_ERRORS = (ssl.SSL_ERROR_WANT_READ, ssl.SSL_ERROR_WANT_WRITE)
AttributeError: 'NoneType' object has no attribute 'SSL_ERROR_WANT_READ'

Traceback (most recent call last):


 "mooc.py", line 87, in <module>

main()


 "mooc.py", line 66, in main

xuetangx.start(args.url, config, cookies)


 "C:\Users\why05\Downloads\Compressed\course-crawler-master_2\course-crawler-master\mooc\xuetangx.py", line 210, in start

get_content(courseware)


 "C:\Users\why05\Downloads\Compressed\course-crawler-master_2\course-crawler-master\mooc\xuetangx.py", line 70, in get_content

chapters = soup.find(id='accordion').find_all(class_='chapter')
AttributeError: 'NoneType' object has no attribute 'find_all'