Implementing an scrapy.Item to collect our data
This commit is contained in:
parent
515f9ca361
commit
1f4601b8cd
@ -3,10 +3,14 @@
|
|||||||
# See documentation in:
|
# See documentation in:
|
||||||
# https://docs.scrapy.org/en/latest/topics/items.html
|
# https://docs.scrapy.org/en/latest/topics/items.html
|
||||||
|
|
||||||
import scrapy
|
from scrapy.item import Field, Item
|
||||||
|
|
||||||
|
|
||||||
class RlsbbScraperItem(scrapy.Item):
|
class RlsbbScraperItem(Item):
|
||||||
# define the fields for your item here like:
|
article_id = Field()
|
||||||
# name = scrapy.Field()
|
article_title = Field()
|
||||||
pass
|
title = Field()
|
||||||
|
date = Field()
|
||||||
|
summary = Field()
|
||||||
|
image_url = Field()
|
||||||
|
download_url = Field()
|
||||||
Loading…
x
Reference in New Issue
Block a user