AttributeError: 'NoneType' object has no attribute 'strip ...
https://www.py4u.net/discuss/270579AttributeError: 'NoneType' object has no attribute 'strip' It means exactly what it says: url.strip() requires first figuring out what url.strip is, i.e. looking up the strip attribute of url.This failed because url is a 'NoneType' object, i.e. an object whose type is NoneType, i.e. the special object None.. Presumably url was expected to be a str, i.e. a text string, since those do have a ...