Sun Aug 27 16:35:52 CST 2017

This commit is contained in:
ddv12138 2017-08-27 16:35:52 +08:00
parent d82274afd1
commit 737f881207
2 changed files with 3 additions and 5 deletions

View File

@ -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口试成绩准考证号--等级:--

View File

@ -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: