from bs4 import BeautifulSoup
import requests
import urllib.request
from dict import dic
def down_img(mum):
    global x
    x = x+1
    urls = 'http://desk.zol.com.cn/bizhi/466_4{}_2.html'.format(str(mum))
    wb_dataa = requests.get(urls)
    soup = BeautifulSoup(wb_dataa.text,'lxml')
    down_url = soup.select('#bigImg')
    response = urllib.request.urlopen(down_url[0].get('src'))
    cat_img = response.read()
    with open('C:\img\\'+dic[x]+'.jpg','wb') as f:
        f.write(cat_img)
if __name__ == '__main__':
    global x
    x = 0
    for i in range(194,220,1):
        down_img(i)
---------------------------------------------------------
ens = '''
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
'''
nums = '''
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
'''
# for en,mum in zip(ens.split(),nums.split()):
#     print(','+mum+':','\''+en+'\'')
dic = {
1: 'A'
,2: 'B'
,3: 'C'
,4: 'D'
,5: 'E'
,6: 'F'
,7: 'G'
,8: 'H'
,9: 'I'
,10: 'J'
,11: 'K'
,12: 'L'
,13: 'M'
,14: 'N'
,15: 'O'
,16: 'P'
,17: 'Q'
,18: 'R'
,19: 'S'
,20: 'T'
,21: 'U'
,22: 'V'
,23: 'W'
,24: 'X'
,25: 'Y'
,26: 'Z'}