puppylpg / oddish

Crawl csgo skin info from `buff.163.com` and steam, then find the most suitable one to buy from the former and to sell to the latter.
https://puppylpg.github.io/2019/12/07/python-crawler-buff-optimaze/
GNU General Public License v3.0
323 stars 81 forks source link

TypeError: argument of type 'NoneType' is not iterable #97

Closed HooinIcecream closed 3 years ago

HooinIcecream commented 3 years ago

(buff) E:\buff>python -m src Traceback (most recent call last): File "E:\buff\src\ui\oddish.py", line 28, in run table = item_crawler.crawl() File "E:\buff\src\crawl\item_crawler.py", line 167, in crawl t = asyncio.run(crawl_goods_by_price_section(category)) File "D:\python\lib\asyncio\runners.py", line 43, in run return loop.run_until_complete(main) File "D:\python\lib\asyncio\base_events.py", line 584, in run_until_complete return future.result() File "E:\buff\src\crawl\item_crawler.py", line 95, in crawl_goods_by_price_section if 'data' not in root_json: TypeError: argument of type 'NoneType' is not iterable 有谁知道怎么解决吗

bromine2 commented 2 years ago

请问现在问题解决了吗?

FengZhiheng commented 2 years ago

遇到了相同问题,怀疑是访问163网站的网速太慢导致的;