zooeytsai 2 rokov pred
rodič
commit
f2c7ede7dd

+ 0 - 2
INNNews/general_clickbot_hhh.py → monitor/general_clickbot_hhh.py

@@ -83,9 +83,7 @@ def process_query(qs):
                 print("ranking", idx)
                 table.insert({'kw':q,'domain':domain,'ranking':idx,'title':txt,'url':href,'dt':datetime.datetime.now(),'num':1})
                 webdriver.ActionChains(driver).move_to_element(elmt).perform()
-                WebDriverWait(driver, 10).until(elmt)
                 webdriver.ActionChains(driver).move_to_element(elmt).click().perform()
-                time.sleep(5)
                 break
         idx+=1
 

+ 0 - 0
INNNews/run_sheet_hhh.py → monitor/run_sheet_hhh.py