遇到的问题:代码编译后出现AttributeError: ‘NoneType’ object has no attribute 'text’错误
第三十行获取到的值是None,然后执行.text属性报错