4.8模拟登录这里用到的undetected_chromedriver 浏览器自己打开后立马闪退了,什么也没看到
来源:4-2 scrapy安装和配置
李白O
2021-06-28
终端最后几行输出如下:
2021-06-28 10:55:38 [scrapy.core.engine] INFO: Closing spider (finished)
2021-06-28 10:55:38 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{‘elapsed_time_seconds’: 4.391222,
‘finish_reason’: ‘finished’,
‘finish_time’: datetime.datetime(2021, 6, 28, 2, 55, 38, 10659),
‘log_count/DEBUG’: 12,
‘log_count/ERROR’: 1,
‘log_count/INFO’: 11,
‘log_count/WARNING’: 1,
‘start_time’: datetime.datetime(2021, 6, 28, 2, 55, 33, 619437)}
2021-06-28 10:55:38 [scrapy.core.engine] INFO: Spider closed (finished)
2021-06-28 10:55:38 [uc] DEBUG: Chrome.del
2021-06-28 10:55:38 [uc] DEBUG: closing webdriver
2021-06-28 10:55:38 [uc] DEBUG: killing browser
2021-06-28 10:55:38 [uc] DEBUG: removing profile : C:\Users\ADMINI~1\AppData\Local\Temp\tmp6yjvinti
2021-06-28 10:55:39 [uc] DEBUG: removing profile : C:\Users\ADMINI~1\AppData\Local\Temp\tmp6yjvinti
2021-06-28 10:55:40 [uc] DEBUG: removing profile : C:\Users\ADMINI~1\AppData\Local\Temp\tmp6yjvinti
1回答
-
这里没有异常,你有没有试过使用
undetected_chromedriver
单独调试而不是放到scrapy中运行是否正常?
042021-07-02
相似问题