Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "/home/nicko/devman/10_coursera/coursera.py", line 51, in get_course_info
- {"class": "ratings-text bt3-visible-xs"}
- AttributeError: 'NoneType' object has no attribute 'text'
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/nicko/pycharm-2018/helpers/pydev/pydevd.py", line 1664, in <module>
- main()
- File "/home/nicko/pycharm-2018/helpers/pydev/pydevd.py", line 1658, in main
- globals = debugger.run(setup['file'], None, None, is_module)
- File "/home/nicko/pycharm-2018/helpers/pydev/pydevd.py", line 1068, in run
- pydev_imports.execfile(file, globals, locals) # execute the script
- File "/home/nicko/pycharm-2018/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
- exec(compile(contents+"\n", file, 'exec'), glob, loc)
- File "/home/nicko/devman/10_coursera/coursera.py", line 78, in <module>
- print(get_course_info("https://www.coursera.org/learn/teach-impacts-technology-relationships"))
- File "/home/nicko/devman/10_coursera/coursera.py", line 56, in get_course_info
- {"class": "ratings-text headline-2-text"}
- AttributeError: 'NoneType' object has no attribute 'text'
- Process finished with exit code 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement