@@ -112,11 +112,11 @@ def run_once(q):
driver.quit()
sys.exit()
-
cursor = db.query('SELECT query FROM seo.hhh_gsc_imp where position >=2.5 and position <=8.5 order by rand() limit 1')
query=None
for c in cursor:
query=c['query']
+ print(query)
break
run_once((query,'hhh.com.tw'))