Commit e57e74f3 authored by lixiaofang's avatar lixiaofang

add

parent 3ba8795e
...@@ -23,13 +23,13 @@ def auto_click(id): ...@@ -23,13 +23,13 @@ def auto_click(id):
cookies = login() cookies = login()
if cookies is not None: if cookies is not None:
num2 = random.randint(1000, 2000) num2 = random.randint(1000, 1500)
time.sleep(num2) time.sleep(num2)
click(cookies, id) click(cookies, id)
cookies = login() cookies = login()
if cookies is not None: if cookies is not None:
num3 = random.randint(2500, 4000) num3 = random.randint(2000, 3000)
time.sleep(num3) time.sleep(num3)
click(cookies, id) click(cookies, id)
...@@ -51,7 +51,7 @@ def auto_reply(id): ...@@ -51,7 +51,7 @@ def auto_reply(id):
cookies = login() cookies = login()
if cookies: if cookies:
num2 = random.randint(1000, 2000) num2 = random.randint(1000, 1500)
time.sleep(num2) time.sleep(num2)
comment_content = get_comments() comment_content = get_comments()
comment = comment_content[0] comment = comment_content[0]
...@@ -59,7 +59,7 @@ def auto_reply(id): ...@@ -59,7 +59,7 @@ def auto_reply(id):
cookies = login() cookies = login()
if cookies: if cookies:
num3 = random.randint(2500, 4000) num3 = random.randint(2000, 3500)
time.sleep(num3) time.sleep(num3)
comment_content = get_comments() comment_content = get_comments()
comment = comment_content[0] comment = comment_content[0]
......
...@@ -5,10 +5,10 @@ import random ...@@ -5,10 +5,10 @@ import random
import traceback import traceback
# auto_click_url = "http://earth.igengmei.com/api/v1/like" auto_click_url = "http://earth.igengmei.com/api/v1/like"
# auto_reply_url = "http://earth.igengmei.com/api/v1/reply/create" auto_reply_url = "http://earth.igengmei.com/api/v1/reply/create"
# auto_follow_url = "http://earth.igengmei.com/api/v1/follow" auto_follow_url = "http://earth.igengmei.com/api/v1/follow"
# auto_urge_url = "http://earth.igengmei.com/api/v1/user/urge" auto_urge_url = "http://earth.igengmei.com/api/v1/user/urge"
def get_majia(): def get_majia():
try: try:
......
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