运行结果及详细报错内容
请输入在当前目录下创建的存储文件夹名字:qwe
没有当前文件夹,创建成功
Traceback (most recent call last):
File "e:\zzz_Ealsen_wenjian\daimazzzcode\zzzcodepython\lianxidaimapython\py爬取图片爬虫.py", line 25, in
text_tx = str(text.get('alt') + '.jpg')
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
PS E:\zzz_Ealsen_wenjian\daimazzzcode\zzzcodepython>
请问怎么解决