Merge pull request #608 from thsrite/main

This commit is contained in:
jxxghp
2024-12-19 18:37:35 +08:00
committed by GitHub
3 changed files with 5 additions and 4 deletions

View File

@@ -33,12 +33,13 @@
"name": "站点自动签到",
"description": "自动模拟登录、签到站点。",
"labels": "站点",
"version": "2.5.1",
"version": "2.5.2",
"icon": "signin.png",
"author": "thsrite",
"level": 2,
"history": {
"v2.5.1": "修复空签到失败问题",
"v2.5.2": "修复HDArea签到",
"v2.5.1": "修复空签到失败问题",
"v2.5": "MoviePilot V2 版本站点自动签到插件"
}
},

View File

@@ -37,7 +37,7 @@ class AutoSignIn(_PluginBase):
# 插件图标
plugin_icon = "signin.png"
# 插件版本
plugin_version = "2.5.1"
plugin_version = "2.5.2"
# 插件作者
plugin_author = "thsrite"
# 作者主页

View File

@@ -48,7 +48,7 @@ class HDArea(_ISiteSigninHandler):
html_res = RequestUtils(cookies=site_cookie,
ua=ua,
proxies=proxies
).post_res(url="https://www.hdarea.club/sign_in.php", data=data)
).post_res(url="https://hdarea.club/sign_in.php", data=data)
if not html_res or html_res.status_code != 200:
logger.error(f"{site} 签到失败,请检查站点连通性")
return False, '签到失败,请检查站点连通性'