2023-07-10 23:08:00 [scrapy.core.engine] INFO: Closing spider (finished) 2023-07-10 23:08:00 [selenium.webdriver.remote.remote_connection] DEBUG: DELETE http://localhost:60596/session/be2dde14f6d45a27f7c73bf2fdb4c6fc/window {} 2023-07-10 23:08:00 [urllib3.connectionpool] DEBUG: http://localhost:60596 "DELETE /session/be2dde14f6d45a27f7c73bf2fdb4c6fc/window HTTP/1.1" 200 0 2023-07-10 23:08:00 [selenium.webdriver.remote.remote_connection] DEBUG: Remote response: status=200 | data={"value":[]} | headers=HTTPHeaderDict({'Content-Length': '12', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'}) 2023-07-10 23:08:00 [selenium.webdriver.remote.remote_connection] DEBUG: Finished Request 这个是什么意思
时间: 2024-04-10 08:28:49 浏览: 350
这段日志显示了 Scrapy 框架和 Selenium 的一些操作。让我为您解释每一部分的含义:
1. `2023-07-10 23:08:00 [scrapy.core.engine] INFO: Closing spider (finished)`:表示爬虫已完成并关闭。
2. `2023-07-10 23:08:00 [selenium.webdriver.remote.remote_connection] DEBUG: DELETE http://localhost:60596/session/be2dde14f6d45a27f7c73bf2fdb4c6fc/window {}`:表示正在发送一个 HTTP DELETE 请求,关闭 Selenium 的浏览器窗口。
3. `2023-07-10 23:08:00 [urllib3.connectionpool] DEBUG: http://localhost:60596 "DELETE /session/be2dde14f6d45a27f7c73bf2fdb4c6fc/window HTTP/1.1" 200 0`:表示该 DELETE 请求已成功发送,返回状态码 200 表示成功。
4. `2023-07-10 23:08:00 [selenium.webdriver.remote.remote_connection] DEBUG: Remote response: status=200 | data={"value":[]} | headers=HTTPHeaderDict({'Content-Length': '12', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'})`:表示远程服务器返回的响应,其中状态码为 200,返回的数据为 `{"value":[]}`。
5. `2023-07-10 23:08:00 [selenium.webdriver.remote.remote_connection] DEBUG: Finished Request`:表示请求已完成。
这些日志详细记录了 Scrapy 和 Selenium 在运行过程中的一些操作,可以帮助您进行调试和了解程序的执行流程。
阅读全文
相关推荐


















