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