zooeytsai %!s(int64=2) %!d(string=hai) anos
pai
achega
f2c7ede7dd
Modificáronse 2 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      monitor/general_clickbot_hhh.py
  2. 0 0
      monitor/run_sheet_hhh.py

+ 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