python学习笔记:python爬取github图片
总体思路关键:每张图片有一个地址,通过找规律构建要爬取图片的地址代码会自动将爬取到的图片保存到文件夹下:结果如下图import requestsimport jsonclass ImageSpider(): def __init__(self): self.headers = {'User-Agent':"Mozilla/5.0 (Linux; Androi...
原创
2019-03-31 14:41:06 ·
635 阅读 ·
0 评论