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
321 stars 80 forks source link

运行到一半闪退 #96

Closed PunkDeer closed 2 years ago

PunkDeer commented 2 years ago

问题描述 在爬饰品的时候,会闪退

复现步骤

报错信息

(foolish) C:\Users\18115\oddish-master>python -m src Traceback (most recent call last): File "C:\Users\18115\oddish-master\src\ui\oddish.py", line 28, in run table = item_crawler.crawl() File "C:\Users\18115\oddish-master\src\crawl\item_crawler.py", line 167, in crawl t = asyncio.run(crawl_goods_by_price_section(category)) File "C:\Users\18115\anaconda3\envs\foolish\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\18115\anaconda3\envs\foolish\lib\asyncio\base_events.py", line 642, in run_until_complete return future.result() File "C:\Users\18115\oddish-master\src\crawl\item_crawler.py", line 149, in crawl_goods_by_price_section await timer.async_sleep_awhile(0, time.time() - stamp) TypeError: async_sleep_awhile() takes 0 positional arguments but 2 were given

[相关截屏(最好贴一下)]

image

软件信息

请完善以下信息: