链接: https://pan.baidu.com/s/1rE47WetH61IDitdieIS8Ag 密码: cpeq
网址:https://mm.taobao.com/self/aiShow.htm?userId=745790526
import urllib.request
h = "<img style"
c = ".jpg"
posh = -len(h)
posc = -len(c)
i = 0
while i < s.count(h):
posh = s.find(h, posc + len(c))
posc = s.find(c, posh + len(h))
t = s[posh : posc + len(c)]
#print(t)
http = t.find("img.alicdn")
url = "http://" + t[http:]
print(i, "->", url)
urllib.request.urlretrieve(url, str(i) + ".jpg")
i += 1