@@ -186,6 +186,7 @@ def run_once(jsobj):
href = pick.get_attribute('href')
if href in blacklist:
negativeflag=True
+ print(href)
webdriver.ActionChains(driver).move_to_element(pick).perform()
webdriver.ActionChains(driver).move_to_element(pick).click().perform()
#table.insert({'ranking':-1,'kw':kw,'results':numresults,'url':'','title':'未收錄','client':jsobj['cust']})
@@ -199,6 +199,7 @@ def run_once(jsobj):
if attempt==100:
print("Action Terminated")
break