修复获取文章失败

This commit is contained in:
SingTsang 2024-05-26 17:58:03 +08:00 committed by GitHub
parent 1dddf3ad52
commit f900611c7c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -165,8 +165,8 @@ class RUN:
datas = { datas = {
"categoryId": 0, "categoryId": 0,
"sort": 0, "sort": 0,
"pageNum": 10, "pageNum": 1,
"pageSize": 1 "pageSize": 10
} }
data.update(datas) data.update(datas)
# print(data) # print(data)
@ -399,4 +399,4 @@ export SCRIPT_UPDATE = 'False' 关闭脚本自动更新,默认开启
s.verify = False s.verify = False
run_result = RUN(infos, index).main() run_result = RUN(infos, index).main()
if not run_result: continue if not run_result: continue
if send: send(f'{APP_NAME}挂机通知', send_msg + TIPS_HTML) if send: send(f'{APP_NAME}挂机通知', send_msg + TIPS_HTML)