wangkun 2 năm trước cách đây
mục cha
commit
466e3edd4b
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      weixinzhishu/weixinzhishu_main/search_key.py

+ 1 - 0
weixinzhishu/weixinzhishu_main/search_key.py

@@ -48,6 +48,7 @@ class Searchkey:
             # cls.close_weixinzhishu(log_type, crawler)
             weixinzhishu_driver = cls.close_weixinzhishu(log_type, crawler)
             weixinzhishu_driver.find_elements(By.NAME, '关闭')[-1].click()
+            cls.kill_pid(log_type, crawler)
         except Exception as e:
             Common.logger(log_type, crawler).error(f'start_wechat异常:{e}\n')