mirror of
https://github.com/teddysun/across.git
synced 2025-11-26 21:35:33 +08:00
Fri Aug 25 02:54:42 CST 2017
This commit is contained in:
@@ -23,7 +23,7 @@ data = 'query?zkzh={}&xm={}'
|
||||
H = {'Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
|
||||
'Accept-Encoding':'gzip, deflate',
|
||||
'Accept-Language':'zh-CN,zh;q=0.8',
|
||||
'Connection':'keep-alive',
|
||||
'Connection':'close',
|
||||
'Host':'www.chsi.com.cn',
|
||||
'Referer':'http://www.chsi.com.cn/cet/',
|
||||
'Upgrade-Insecure-Requests':'1',
|
||||
@@ -82,7 +82,7 @@ else:
|
||||
print('没有')
|
||||
exit(0)'''
|
||||
### testing end
|
||||
names = ['贺深','张旭','陈飞扬','赵昊罡','潘猛']
|
||||
names = ['赵昊罡','潘猛']
|
||||
for num in range(1,11):
|
||||
for zkzh in [i for i in range(*number)]:
|
||||
for xm in names:
|
||||
@@ -91,7 +91,6 @@ for num in range(1,11):
|
||||
result = parse(text)
|
||||
print(result)
|
||||
append_file(result)
|
||||
continue
|
||||
else:
|
||||
print(zkzh,xm,sep='-->')
|
||||
sleep(2)
|
||||
|
||||
Reference in New Issue
Block a user