Commit f3c2025b authored by lixiaofang's avatar lixiaofang

add

parent af5cab0a
......@@ -13,7 +13,8 @@ from vest.follow import auto_follow, auto_follow_new
from vest.urge import auto_star_urge, auto_lunch_app, auto_lunch_app2, auto_urge1, auto_urge2
from vest.fix import fix_no_comment_click
from vest.reply_answer import reply_comment2, reply_comment3, answer_reply2, answer_reply3, answer_reply1
from vest.request import get_session, auto_request, auto_user_id
from vest.request import get_session, auto_user_id
from vest.vest_majiauser import vest_click_reply
class Command(BaseCommand):
......@@ -126,6 +127,10 @@ class Command(BaseCommand):
if options["mvest"] == "get_user_id":
auto_user_id.auto_user_id()
# 马甲3456
if options["mvest"] == "vest_click_reply":
vest_click_reply.vest_click_reply()
except:
......
......@@ -54,10 +54,8 @@ def get_data(now, noww):
return None
if __name__ == "__main__":
def vest_click_reply():
try:
now = datetime.datetime.now()
yes_time = now - datetime.timedelta(minutes=5)
user_data = open("/srv/apps/physical/vest/data/user_id.txt", "r")
......@@ -65,7 +63,6 @@ if __name__ == "__main__":
for i in user_data.readlines():
user_list.append(i)
topic_id = get_data(yes_time, now)
dicts = {}
if topic_id:
for id in topic_id:
rand_num = random.randint(1, 3)
......
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