迁移到 rapidjson,增加 ssl 验证功能,其他改进

This commit is contained in:
Kohaku
2025-02-15 18:20:29 +08:00
parent fd46fbb123
commit 33c8a574df
17 changed files with 33 additions and 36 deletions

View File

@@ -1,6 +1,6 @@
# 获取用户简略预览数据的 API 实现,此 API 无需任何登录即可调取
import json
from rapidjson import json
from API_TitleServer import apiSDGB
from Config import *
import time
@@ -19,8 +19,12 @@ if __name__ == "__main__":
userId = testUid2
print(apiGetUserPreview(userId))
###
### 以下仅留作归档
###
def crawlAllUserPreview():
"""omg it's a evil crawler"""
# 这里设置开始和结束的 UserId
BeginUserId = 11000000
EndUserId = 12599999