This commit is contained in:
caiwx86 2023-08-06 20:58:47 +08:00
parent ae3826b671
commit a3b50fb923
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ BOT_NAME = 'Comics'
SPIDER_MODULES = ['Comics.spiders']
NEWSPIDER_MODULE = 'Comics.spiders'
BASE_OUTPUT = "/home/cwx/Dev/Comics"
BASE_OUTPUT = "/mnt/Comics"
OUTPUT_DIR = os.path.join(BASE_OUTPUT, "output")
# Crawl responsibly by identifying yourself (and your website) on the user-agent
#USER_AGENT = 'Comics (+http://www.yourdomain.com)'

View File

@ -7,7 +7,7 @@ from Comics.settings import PROJECT_KEY
class RmComicSpider(scrapy.Spider):
name = 'rm_comic'
allowed_domains = ['rouman5.com']
allowed_domains = ['roum1.xyz']
main_url = 'https://'+allowed_domains[0]
start_urls = main_url+'/books'