wangkun 2 سال پیش
والد
کامیت
8813743128
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      zhongmiaoyinxin/zhongmiaoyinxin_recommend/zhongmiaoyinxin_recommend.py

+ 1 - 0
zhongmiaoyinxin/zhongmiaoyinxin_recommend/zhongmiaoyinxin_recommend.py

@@ -120,6 +120,7 @@ class ZhongmiaoyinxinRecommend:
     def check_to_applet(cls, log_type, crawler, driver: WebDriver):
     def check_to_applet(cls, log_type, crawler, driver: WebDriver):
         while True:
         while True:
             webview = driver.contexts
             webview = driver.contexts
+            Common.logger(log_type, crawler).info(f"webview:{webview}")
             driver.switch_to.context(webview[1])
             driver.switch_to.context(webview[1])
             windowHandles = driver.window_handles
             windowHandles = driver.window_handles
             for handle in windowHandles:
             for handle in windowHandles: