MrNiebit / -solo-blog

comment
0 stars 0 forks source link

scrapy爬52古装网高清壁纸并下载 - gitsilence 的个人博客 #72

Open MrNiebit opened 3 years ago

MrNiebit commented 3 years ago

https://blog.lacknb.cn/articles/2019/08/26/1577974158774.html

创建项目 # 创建爬虫项目 scrapy startproject GuzhuangWallpaper # 进入爬虫项目的目录,生成爬虫文件(模板) scrapy genspider guzhuang www.52guzhuang.com 2. setting文件的配置 # -- coding: utf-8 -- # Scrapy settings for GuzhuangWallpaper project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/latest/topics/downloader-middleware.html # https:/....