Adding a first iteration about a TvShowItem

This commit is contained in:
edipretoro 2025-12-25 21:40:30 +01:00
parent 887a641be5
commit cf13f89089

View File

@ -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"]