diff --git a/list.json b/list.json index cac8659..699c9f4 100644 --- a/list.json +++ b/list.json @@ -62,7 +62,7 @@ }, { "name": "xtao-some", - "version": "1.0", + "version": "1.01", "section": "daily", "maintainer": "xtaodada", "size": "18.8 kb", diff --git a/xtao-some.py b/xtao-some.py index 2f69996..e033075 100644 --- a/xtao-some.py +++ b/xtao-some.py @@ -372,7 +372,7 @@ async def tx_t(context): try: await context.edit("正在生成翻译中 . . .") tx_json = json.loads(requests.get( - "https://xtaolink.cn/git/m/t.php?lang=" + lang + '&text=' + clear_emojis(message)).content.decode( + "http://xtaolink.cn/git/m/t.php?lang=" + lang + '&text=' + clear_emojis(message)).content.decode( "utf-8")) if not tx_json['msg'] == 'ok': context.edit("出错了呜呜呜 ~ 翻译出错") @@ -387,4 +387,4 @@ async def tx_t(context): await context.edit("输出超出 TG 限制,正在尝试上传文件。") await attach_log(result, context.chat_id, "translation.txt", context.id) return - await context.edit(result) \ No newline at end of file + await context.edit(result)