Jason 1 năm trước cách đây
mục cha
commit
b8654c1b91

+ 1 - 0
website_clickjobs/gen_seo.py

@@ -189,6 +189,7 @@ def run_once(jsobj):
             print(href)
             print(href)
             webdriver.ActionChains(driver).move_to_element(pick).perform()
             webdriver.ActionChains(driver).move_to_element(pick).perform()
             webdriver.ActionChains(driver).move_to_element(pick).click().perform()
             webdriver.ActionChains(driver).move_to_element(pick).click().perform()
+            time.sleep(10)
             #table.insert({'ranking':-1,'kw':kw,'results':numresults,'url':'','title':'未收錄','client':jsobj['cust']})
             #table.insert({'ranking':-1,'kw':kw,'results':numresults,'url':'','title':'未收錄','client':jsobj['cust']})
 
 
 
 

+ 1 - 0
website_clickjobs/gen_seo2.py

@@ -202,6 +202,7 @@ def run_once(jsobj):
             print(href)
             print(href)
             webdriver.ActionChains(driver).move_to_element(pick).perform()
             webdriver.ActionChains(driver).move_to_element(pick).perform()
             webdriver.ActionChains(driver).move_to_element(pick).click().perform()
             webdriver.ActionChains(driver).move_to_element(pick).click().perform()
+            time.sleep(10)
             #table.insert({'ranking':-1,'kw':kw,'results':numresults,'url':'','title':'未收錄','client':jsobj['cust']})
             #table.insert({'ranking':-1,'kw':kw,'results':numresults,'url':'','title':'未收錄','client':jsobj['cust']})