|
发表于 2022-2-27 14:53:35
|
显示全部楼层
本人只是想先来找个项目试一试爬虫,可以说对于python什么都不会,解决不了下列问题,球球
//爬取失败!
Traceback (most recent call last):
File "D:/Work/123/girls.py", line 93, in <module>
main()
File "D:/Work/123/girls.py", line 76, in main
page_group_list = get_page_group_list(url1) # 获取单页每组图片地址列表
File "D:/Work/123/girls.py", line 36, in get_page_group_list
page_group_list = re.findall(p, html)
File "D:\LeStoreDownload\python\lib\re.py", line 241, in findall
return _compile(pattern, flags).findall(string)
TypeError: expected string or bytes-like object
>>> |
|