feat: 快手关键词搜索存储CSV完成

This commit is contained in:
Relakkes
2023-11-26 01:05:52 +08:00
parent 512192a93e
commit bdf36ccb09
6 changed files with 300 additions and 41 deletions

1
db.py
View File

@@ -8,6 +8,7 @@ async def init_db(create_db: bool = False) -> None:
await Tortoise.init(
db_url=RELATION_DB_URL,
modules={'models': ['models']},
# modules={'models': ['models.kuaishou']}, # generate special table
_create_db=create_db
)