Your Name 3 년 전
부모
커밋
34efd1e043
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      hhh/SEO/hhh_666_edges.py

+ 2 - 0
hhh/SEO/hhh_666_edges.py

@@ -102,6 +102,8 @@ def run_once(url):
     if i<=3 or driver is None:
 #    if True:
         re_get_webdriver()
+    if driver is None:
+        return
     driver.execute_script('window.open("'+url+'","_blank");')
 #    driver.get(url)
     driver.execute_script("window.scrollTo(0, window.scrollY + 400)")