Commit 79241a4a authored by lixiaofang's avatar lixiaofang

add

parent d7e0b6c3
......@@ -5,12 +5,13 @@ import datetime
import pymysql
import random
import pandas as pd
import threading
import traceback
from log_settings import *
import logging
from django.conf import settings
from get_session import get_comments, get_cookies, click, time_conv, login, reply
from get_session import host,user,passwd,db
@shared_task
def auto_click(pk_list):
......@@ -49,7 +50,7 @@ def auto_click(pk_list):
timer.start()
sleep_time = random.randint(300, 540)
timer = threading.Timer(10, fun_comment) # 首次启动
timer = threading.Timer(10, fun_timer) # 首次启动
timer.start()
sleep_time = random.randint(300, 540)
......
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