This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import http.cookiejar as HC | |
import re, json, random | |
user = 2017011000 # need modify | |
pwd = 'password' # need modify | |
temp = '36.0' | |
session = requests.session() | |
session.cookies = HC.LWPCookieJar(filename='cookies') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# @Author: NanoApe | |
# @Date: 2020-12-04 11:40:53 | |
# @Last Modified by: NanoApe | |
# @Last Modified time: 2020-12-04 14:26:30 | |
import requests, random, re | |
import http.cookiejar as HC | |
user = 2017000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var monitorSchool = ["北京语言大学", "北京大学", "北京外国语大学"]; // 填写想要的学校 | |
var speedUp = false; // 加速与否 | |
var notNeedConfirm = true; // 预定前是否需要确认 | |
var defaultName = '北京语言大学'; | |
var defaultID = 3; | |
var skipKDInfo = false; // 跳过 getKDInfo 直接使用默认值提交预定 | |
function sleep(ms) { | |
return new Promise(resolve => setTimeout(resolve, ms)); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import http.cookiejar as HC | |
import re, json | |
import traceback | |
MOBILE = { | |
'deviceid': 'xxxxxx', | |
'hwid_cas_sid': 'xxxxxx', | |
'useraccount': 'xxxxxx', | |
'password': 'xxxxxx' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import _thread as thread | |
from websocket import WebSocketApp | |
import websocket | |
import requests | |
import json | |
from log import logger | |
GAME_ID = 1 |