import requests
import re
import sys
import threading
import time
cookies = {
'semester.id' : '402',
'JSESSIONID' : 'A604909531C60F32C0212F19F470254C',
'GSESSIONID' : 'A604909531C60F32C0212F19F470254C'
}
url = 'http://jwgl.cuit.edu.cn/eams/stdElectCourse!batchOperator.action?profileId=2919'
data = {
'operator0':'73833:true:0'
}
code = ['74361'] #目标科目
j = 0 #累计请求次数
thread_num = 8 #线程数
threadLock = threading.Lock()
class myThread(threading.Thread):
def __init__(self, output_list):
threading.Thread.__init__(self)
self.output_list = output_list
def run(self):
global j
while 1:
if j % 300 == 0:
print('\n第' + str(j) + '轮: by '+self.getName())
print(int(time.time()))
for i in
抢课脚本-8线程
最新推荐文章于 2023-02-17 21:39:01 发布