Fixing the bugs related to the renaming

This commit is contained in:
edipretoro 2024-06-06 08:58:42 +02:00
parent 54f600f50d
commit 6fa55f572a
4 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@
import scrapy
class RslbbScraperItem(scrapy.Item):
class RlsbbScraperItem(scrapy.Item):
# define the fields for your item here like:
# name = scrapy.Field()
pass

View File

@ -9,7 +9,7 @@ from scrapy import signals
from itemadapter import is_item, ItemAdapter
class RslbbScraperSpiderMiddleware:
class RlsbbScraperSpiderMiddleware:
# Not all methods need to be defined. If a method is not defined,
# scrapy acts as if the spider middleware does not modify the
# passed objects.
@ -56,7 +56,7 @@ class RslbbScraperSpiderMiddleware:
spider.logger.info("Spider opened: %s" % spider.name)
class RslbbScraperDownloaderMiddleware:
class RlsbbScraperDownloaderMiddleware:
# Not all methods need to be defined. If a method is not defined,
# scrapy acts as if the downloader middleware does not modify the
# passed objects.

View File

@ -8,6 +8,6 @@
from itemadapter import ItemAdapter
class RslbbScraperPipeline:
class RlsbbScraperPipeline:
def process_item(self, item, spider):
return item

View File

@ -4,8 +4,8 @@
# https://scrapyd.readthedocs.io/en/latest/deploy.html
[settings]
default = rslbb_scraper.settings
default = rlsbb_scraper.settings
[deploy]
#url = http://localhost:6800/
project = rslbb_scraper
project = rlsbb_scraper