mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-25 09:37:30 +00:00
🍱 Update 2.44.1 ds salt
This commit is contained in:
parent
d28db63707
commit
77fd0406ae
@ -54,13 +54,13 @@ def get_ds(ds_type: str = None, new_ds: bool = False, data: Any = None, params:
|
|||||||
c = hex_digest(f"salt={salt}&t={t}&r={r}")
|
c = hex_digest(f"salt={salt}&t={t}&r={r}")
|
||||||
return f"{t},{r},{c}"
|
return f"{t},{r},{c}"
|
||||||
|
|
||||||
app_version = "2.42.1"
|
app_version = "2.44.1"
|
||||||
client_type = "5"
|
client_type = "5"
|
||||||
salt = "9gaxOdeeY2W9dw5x62pywhik8cxy5TIJ"
|
salt = "IEIZiKYaput2OCKQprNuGsog1NZc1FkS"
|
||||||
ds = old()
|
ds = old()
|
||||||
if ds_type in {"android", "2"}:
|
if ds_type in {"android", "2"}:
|
||||||
client_type = "2"
|
client_type = "2"
|
||||||
salt = "jrU9ULHGZdM9Os3uGHOpjyRELYxby5cg"
|
salt = "dZAwGk4e9aC0MXXItkwnHamjA1x30IYw"
|
||||||
ds = old()
|
ds = old()
|
||||||
elif ds_type == "android_new":
|
elif ds_type == "android_new":
|
||||||
client_type = "2"
|
client_type = "2"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import contextlib
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
|
|
||||||
import genshin
|
import genshin
|
||||||
@ -192,7 +193,8 @@ class GachaLogPlugin(Plugin.Conversation, BasePlugin.Conversation):
|
|||||||
lang="zh-cn",
|
lang="zh-cn",
|
||||||
uid=user_info.yuanshen_uid,
|
uid=user_info.yuanshen_uid,
|
||||||
)
|
)
|
||||||
authkey = await get_authkey_by_stoken(client)
|
with contextlib.suppress(Exception):
|
||||||
|
authkey = await get_authkey_by_stoken(client)
|
||||||
if not authkey:
|
if not authkey:
|
||||||
await message.reply_text(
|
await message.reply_text(
|
||||||
"<b>开始导入祈愿历史记录:请通过 https://paimon.moe/wish/import 获取抽卡记录链接后发送给我"
|
"<b>开始导入祈愿历史记录:请通过 https://paimon.moe/wish/import 获取抽卡记录链接后发送给我"
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
import contextlib
|
||||||
|
|
||||||
import genshin
|
import genshin
|
||||||
from telegram import Update, User, InlineKeyboardButton, InlineKeyboardMarkup
|
from telegram import Update, User, InlineKeyboardButton, InlineKeyboardMarkup
|
||||||
from telegram.constants import ChatAction
|
from telegram.constants import ChatAction
|
||||||
@ -96,7 +98,8 @@ class PayLogPlugin(Plugin.Conversation, BasePlugin.Conversation):
|
|||||||
lang="zh-cn",
|
lang="zh-cn",
|
||||||
uid=user_info.yuanshen_uid,
|
uid=user_info.yuanshen_uid,
|
||||||
)
|
)
|
||||||
authkey = await get_authkey_by_stoken(client)
|
with contextlib.suppress(Exception):
|
||||||
|
authkey = await get_authkey_by_stoken(client)
|
||||||
if not authkey:
|
if not authkey:
|
||||||
await message.reply_text(
|
await message.reply_text(
|
||||||
"<b>开始导入充值历史记录:请通过 https://paimon.moe/wish/import 获取抽卡记录链接后发送给我"
|
"<b>开始导入充值历史记录:请通过 https://paimon.moe/wish/import 获取抽卡记录链接后发送给我"
|
||||||
|
Loading…
Reference in New Issue
Block a user