Commit 7fb0a657 authored by lixiaofang's avatar lixiaofang

add

parent 43454dda
......@@ -128,7 +128,7 @@ def auto_click(pk_list):
topic_id_list = []
if len(pk_list) > 0:
cursor.execute(
"SELECT id,user_id FROM topic WHERE id in " + str( # and create_time LIKE '%%%%%s%%%%'% yes_time_str
"SELECT id FROM topic WHERE id in " + str( # and create_time LIKE '%%%%%s%%%%'% yes_time_str
tuple(
pk_list)) + " and user_id in (select user_id from user_extra where is_shadow = 0)")
data = cursor.fetchall()
......@@ -141,7 +141,7 @@ def auto_click(pk_list):
cookies = login()
if cookies:
logging.info("get topic_id_list:%s" % topic_id_list)
click(cookies, topic_id_list[0])
click(cookies, topic_id_list[0][0])
global timer
global exec_count_click
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment