Traceback (most recent call last): File "/home/kali/lms.py", line 20, in for row in table.find_all("tr"): ^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'find_all'