wangkun 1 ano atrás
pai
commit
8813743128

+ 1 - 0
zhongmiaoyinxin/zhongmiaoyinxin_recommend/zhongmiaoyinxin_recommend.py

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