mirror of
https://github.com/teddysun/across.git
synced 2025-04-23 04:19:31 +08:00
Sun Aug 27 16:35:52 CST 2017
This commit is contained in:
parent
d82274afd1
commit
737f881207
1
cet.txt
1
cet.txt
@ -1,4 +1,3 @@
|
|||||||
姓名:潘猛学校:武汉晴川学院考试级别:英语四级笔试成绩准考证号:420550171103523总分:273听力:87阅读:109写作和翻译:77口试成绩准考证号:--等级:--
|
姓名:潘猛学校:武汉晴川学院考试级别:英语四级笔试成绩准考证号:420550171103523总分:273听力:87阅读:109写作和翻译:77口试成绩准考证号:--等级:--
|
||||||
姓名:潘猛学校:武汉晴川学院考试级别:英语四级笔试成绩准考证号:420550171103523总分:273听力:87阅读:109写作和翻译:77口试成绩准考证号:--等级:--
|
|
||||||
姓名:贺深学校:武汉晴川学院考试级别:英语四级笔试成绩准考证号:420550171103524总分:370听力:156阅读:95写作和翻译:119口试成绩准考证号:--等级:--
|
姓名:贺深学校:武汉晴川学院考试级别:英语四级笔试成绩准考证号:420550171103524总分:370听力:156阅读:95写作和翻译:119口试成绩准考证号:--等级:--
|
||||||
姓名:张旭学校:武汉晴川学院考试级别:英语四级笔试成绩准考证号:420550171103516总分:280听力:114阅读:88写作和翻译:78口试成绩准考证号:--等级:--
|
姓名:张旭学校:武汉晴川学院考试级别:英语四级笔试成绩准考证号:420550171103516总分:280听力:114阅读:88写作和翻译:78口试成绩准考证号:--等级:--
|
||||||
|
@ -26,7 +26,6 @@ data = 'query?zkzh={}&xm={}'
|
|||||||
H = {'Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
|
H = {'Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
|
||||||
'Accept-Encoding':'gzip, deflate',
|
'Accept-Encoding':'gzip, deflate',
|
||||||
'Accept-Language':'zh-CN,zh;q=0.8',
|
'Accept-Language':'zh-CN,zh;q=0.8',
|
||||||
'Connection':'close',
|
|
||||||
'Host':'www.chsi.com.cn',
|
'Host':'www.chsi.com.cn',
|
||||||
'Referer':'http://www.chsi.com.cn/cet/',
|
'Referer':'http://www.chsi.com.cn/cet/',
|
||||||
'Upgrade-Insecure-Requests':'1',
|
'Upgrade-Insecure-Requests':'1',
|
||||||
@ -35,7 +34,7 @@ H = {'Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,
|
|||||||
|
|
||||||
def query(id__,name):
|
def query(id__,name):
|
||||||
s = requests.Session()
|
s = requests.Session()
|
||||||
req = s.get(URL,headers=H)
|
req = s.get(URL,headers=H,proxies=proxy)
|
||||||
|
|
||||||
if req.ok :
|
if req.ok :
|
||||||
url = URL + data.format(id__,quote(name))
|
url = URL + data.format(id__,quote(name))
|
||||||
@ -74,7 +73,7 @@ def append_file(string):
|
|||||||
with open('cet.txt','a+') as f:
|
with open('cet.txt','a+') as f:
|
||||||
f.writelines(string + os.linesep)
|
f.writelines(string + os.linesep)
|
||||||
|
|
||||||
number = 420550171103515,420550171103600 ### 420550171103524 贺深
|
number = 420550171103600,420550171103700 ### 420550171103524 贺深
|
||||||
|
|
||||||
|
|
||||||
### testing
|
### testing
|
||||||
@ -85,7 +84,7 @@ else:
|
|||||||
print('没有')
|
print('没有')
|
||||||
exit(0)'''
|
exit(0)'''
|
||||||
### testing end
|
### testing end
|
||||||
names = ['赵昊罡']
|
names = ['李泽峰']
|
||||||
for num in range(1,11):
|
for num in range(1,11):
|
||||||
for zkzh in [i for i in range(*number)]:
|
for zkzh in [i for i in range(*number)]:
|
||||||
for xm in names:
|
for xm in names:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user