厉害
本帖最后由 arthur.hui 于 2021-8-26 12:31 编辑
Traceback (most recent call last):
File "c:\Users\huilei\Documents\GitHub\Tonghuashun.py", line 48, in <module>
main(offset=i)
File "c:\Users\huilei\Documents\GitHub\Tonghuashun.py", line 43, in main
data.extend(parse_one_page(html))
File "c:\Users\huilei\Documents\GitHub\Tonghuashun.py", line 23, in parse_one_page
soup = BeautifulSoup(html, 'lxml')
File "C:\Users\huilei\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\bs4\__init__.py", line 310, in __init__
elif len(markup) <= 256 and (
TypeError: object of type 'NoneType' has no len()
试试
学习
厉害
谢谢
彩蛋在哪里
牛皮
感谢分享
报错:Traceback (most recent call last):
File "D:/python练习/同花顺爬虫.py", line 4, in <module>
import requests
ModuleNotFoundError: No module named 'requests'
回复看所有
我要彩蛋!
xuexiyi
谢谢大佬
arthur.hui 发表于 2021-8-26 12:27
Traceback (most recent call last):
File "c:%users\huilei\Documents\GitHub\Tonghuashun.py", line 4 ...
我运行了也是这个问题,后来解决了吗?
好东西
谢谢分享。学习学习啊
看看吧
牛逼
能用吗,先看看