You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
704 B
Python
35 lines
704 B
Python
# Define here the models for your scraped items
|
|
#
|
|
# See documentation in:
|
|
# https://docs.scrapy.org/en/latest/topics/items.html
|
|
|
|
import scrapy
|
|
|
|
|
|
class ScienceArticleCssciItem(scrapy.Item):
|
|
# define the fields for your item here like:
|
|
# name = scrapy.Field()
|
|
pass
|
|
|
|
|
|
class AddItemBase(scrapy.Item):
|
|
third_id = scrapy.Field()
|
|
updated_at = scrapy.Field()
|
|
|
|
|
|
class ArticleItem(AddItemBase):
|
|
exported = scrapy.Field()
|
|
|
|
|
|
class ArticleCitedItem(AddItemBase):
|
|
cited = scrapy.Field()
|
|
|
|
|
|
class CssciArticleItem(ArticleItem):
|
|
__tablename__ = 'data_cssci_article'
|
|
|
|
third_id = scrapy.Field()
|
|
resp_raw = scrapy.Field()
|
|
detailed = scrapy.Field()
|
|
updated_at = scrapy.Field()
|