Adding a first iteration about a TvShowItem
This commit is contained in:
parent
887a641be5
commit
cf13f89089
@ -9,6 +9,11 @@ from scrapy.spiders import CrawlSpider, Rule
|
|||||||
from scrapy.linkextractors import LinkExtractor
|
from scrapy.linkextractors import LinkExtractor
|
||||||
|
|
||||||
|
|
||||||
|
class TvShowItem(scrapy.Item):
|
||||||
|
title = scrapy.Field()
|
||||||
|
release_date = scrapy.Field()
|
||||||
|
|
||||||
|
|
||||||
class TvShow(CrawlSpider):
|
class TvShow(CrawlSpider):
|
||||||
name = "rlsb_tvshow"
|
name = "rlsb_tvshow"
|
||||||
allowed_domains = ["rlsbb.ru"]
|
allowed_domains = ["rlsbb.ru"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user