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

+ 1 - 0
hhh/SEO/hhh_phantom.py

@@ -35,6 +35,7 @@ if True:
     #    driver.get("https://www.hhh.com.tw/cases/detail/"+l+"/index.php")
         driver.get(l)
         print(driver.current_url)
+        driver.execute_script("window.scrollTo(0, window.scrollY + 200)")
 #        driver.implicitly_wait (2)
         time.sleep(6)
     driver.quit()