mirror of
https://github.com/simon987/od-database.git
synced 2025-04-19 18:36:44 +00:00
Renamed package
This commit is contained in:
parent
ad645490f6
commit
ca651278d0
4
app.py
4
app.py
@ -11,8 +11,8 @@ from task import TaskManager
|
||||
|
||||
app = Flask(__name__)
|
||||
recaptcha = ReCaptcha(app=app,
|
||||
site_key="",
|
||||
secret_key="")
|
||||
site_key="6LfpFFsUAAAAADgxNJ9PIE9UVO3SM69MCxjzYyOM",
|
||||
secret_key="6LfpFFsUAAAAADuzRvXZfq_nguS3RGj3FCA_2cc3")
|
||||
app.secret_key = "A very secret key"
|
||||
db = Database("db.sqlite3")
|
||||
cache = Cache(app, config={'CACHE_TYPE': 'simple'})
|
||||
|
@ -9,10 +9,10 @@
|
||||
# https://doc.scrapy.org/en/latest/topics/downloader-middleware.html
|
||||
# https://doc.scrapy.org/en/latest/topics/spider-middleware.html
|
||||
|
||||
BOT_NAME = 'scrapy_downl_od'
|
||||
BOT_NAME = 'scrapy_od-database'
|
||||
|
||||
SPIDER_MODULES = ['scrapy_downl_od.spiders']
|
||||
NEWSPIDER_MODULE = 'scrapy_downl_od.spiders'
|
||||
SPIDER_MODULES = ['scrapy_od-database.spiders']
|
||||
NEWSPIDER_MODULE = 'scrapy_od-database.spiders'
|
||||
|
||||
LOG_LEVEL = 'ERROR'
|
||||
FEED_FORMAT = 'json'
|
Loading…
x
Reference in New Issue
Block a user