mirror of
https://github.com/KingHWJ/WeReadBoard.git
synced 2026-11-03 18:24:58 +08:00
refactor(api): 去除代码版本命名
This commit is contained in:
1 parent
bbc4bdd140
commit
dcf4cb0719
31 files changed
+174
-154
No files matched your search
+3
-3
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
微信读书数据采集脚本(完整版 v2.0)
|
||||
微信读书数据采集脚本
|
||||
从微信读书 API 拉取数据并存入本地 SQLite 数据库。
|
||||
|
||||
覆盖全部 8 份官方 API 文档:
|
||||
@@ -78,7 +78,7 @@ def api_call(api_name, **kwargs):
|
||||
|
||||
def init_db(db_path):
|
||||
"""
|
||||
初始化 SQLite 数据库表结构(完整版 v2.0,31 张表)。
|
||||
初始化 SQLite 数据库表结构。
|
||||
表结构与 MySQL 版本(schema_mysql.sql)完全对齐。
|
||||
"""
|
||||
conn = sqlite3.connect(db_path)
|
||||
@@ -1031,7 +1031,7 @@ def main():
|
||||
return
|
||||
|
||||
print("=" * 60)
|
||||
print("微信读书数据采集 (完整版 v2.0)")
|
||||
print("微信读书数据采集")
|
||||
print("=" * 60)
|
||||
|
||||
# 初始化数据库
|
||||
|
||||
Reference in new issue
Block a user