mirror of
https://github.com/NanmiCoder/MediaCrawler.git
synced 2026-04-20 18:57:44 +08:00
refactor: 数据存储重构,分离不同类型的存储实现
This commit is contained in:
@@ -7,6 +7,3 @@ REDIS_DB_PWD = os.getenv("REDIS_DB_PWD", "123456") # your redis password
|
||||
# mysql config
|
||||
RELATION_DB_PWD = os.getenv("RELATION_DB_PWD", "123456") # your relation db password
|
||||
RELATION_DB_URL = f"mysql://root:{RELATION_DB_PWD}@localhost:3306/media_crawler"
|
||||
|
||||
# save data to database option
|
||||
IS_SAVED_DATABASED = False # if you want to save data to database, set True
|
||||
|
||||
Reference in New Issue
Block a user