fix
This commit is contained in:
parent
ae3826b671
commit
a3b50fb923
@ -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)'
|
||||
|
||||
@ -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'
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user