Commit 10401fbc authored by lixiaofang's avatar lixiaofang

dd

parent 5a6b5427
...@@ -10,13 +10,11 @@ from celery import shared_task ...@@ -10,13 +10,11 @@ from celery import shared_task
from django.conf import settings from django.conf import settings
from majia import get_comments, get_cookies, click, time_conv, login, reply from majia import get_comments, get_cookies, click, time_conv, login, reply
from majia import host,user,passwd,db from majia import host,user,passwd,db
exec_count =0
@shared_task @shared_task
def auto_click(pk_list): def auto_click(pk_list):
exec_count =0
exec_count = 0
try: try:
pc = pymysql.connect(host=host, user=user, passwd=passwd, db=db, port=3306) pc = pymysql.connect(host=host, user=user, passwd=passwd, db=db, port=3306)
cursor = pc.cursor() cursor = pc.cursor()
......
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