迁移到 rapidjson,增加 ssl 验证功能,其他改进
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user