摘要:
一、items保存爬取的文件 items.py import scrapy class QuoteItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() text = scrapy 阅读全文
posted @ 2019-10-23 23:13
市丸银
阅读(320)
评论(0)
推荐(0)
摘要:
爬取:http://quotes.toscrape.com 单页面 # -*- coding: utf-8 -*- import scrapy class QuoteSpider(scrapy.Spider): name = 'quote' allowed_domains = ['quotes.to 阅读全文
posted @ 2019-10-23 22:41
市丸银
阅读(165)
评论(0)
推荐(0)

浙公网安备 33010602011771号