20 lines
389 B
Python
20 lines
389 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Define here the models for your scraped items
|
|
#
|
|
# See documentation in:
|
|
# http://doc.scrapy.org/en/latest/topics/items.html
|
|
|
|
import scrapy
|
|
|
|
class Game(scrapy.Item):
|
|
key = scrapy.Field()
|
|
title = scrapy.Field()
|
|
url = scrapy.Field()
|
|
year = scrapy.Field()
|
|
|
|
class Screenshot(scrapy.Item):
|
|
key = scrapy.Field()
|
|
url = scrapy.Field()
|
|
description = scrapy.Field()
|