04 2022 档案

摘要:#read.pyimport scrapyfrom readbook.items import ReadbookItemfrom scrapy.linkextractors import LinkExtractorfrom scrapy.spiders import CrawlSpider, Rul 阅读全文
posted @ 2022-04-08 12:46 wzc6 阅读(68) 评论(0) 推荐(0) 编辑
摘要:#尚硅谷当当网爬取#dangpy.pyimport scrapyfrom scrapy_dangdang.items import ScrapyDangdangItemclass DangpySpider(scrapy.Spider): name = 'dangpy' #如果多页下载,要调整允许域名 阅读全文
posted @ 2022-04-05 13:46 wzc6 阅读(93) 评论(0) 推荐(0) 编辑