Traceback (most recent call last): File "/home/shenjianlin/.local/lib/python3.4/site-packages/twisted/internet/defer.py", line 653, in _runCallbacks current.result = callback(current.result, *args, **kw) File "/home/shenjianlin/my_project/Espider/Espider/pipelines/searchwebsitepipeline.py", line 37, in process_item iconUrl=self.get_max_size_url(item['iconUrl']) File "/home/shenjianlin/my_project/Espider/Espider/pipelines/searchwebsitepipeline.py", line 18, in get_max_size_url save_path = os.path.join("./image", hashlib.sha1(res.content)) File "/usr/lib64/python3.4/posixpath.py", line 79, in join if b.startswith(sep): AttributeError: '_hashlib.HASH' object has no attribute 'startswith'### 题目描述
慕村9548890
慕标琳琳
相关分类