爬蛇的博客  
import urllib.request
# r=urllib.request.urlopen("http://183.247.167.54:7009/#/map")
# print(r.read())#爬取网页源码

r=urllib.request.urlopen("http://183.247.167.54:7009/static/img/logo.ac2237a.png")
rs=r.read()
with open("1.png","wb") as a:
    a.write(rs)#爬取图片

 

posted on 2020-04-29 17:08  爬蛇  阅读(187)  评论(0编辑  收藏  举报