From 4bbfb2d9dd0f1921839621f9f2ed8020634b6ad0 Mon Sep 17 00:00:00 2001 From: mango Date: Wed, 25 Feb 2026 13:54:51 +0800 Subject: [PATCH] =?UTF-8?q?sync:=20=E7=8E=AF=E5=A2=83=E5=8F=98=E9=87=8F?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=20+=20=E5=9F=9F=E5=90=8DURL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bot.py b/bot.py index 900e1ad..bb85c1a 100644 --- a/bot.py +++ b/bot.py @@ -212,7 +212,7 @@ async def cb_getsub(update: Update, context: ContextTypes.DEFAULT_TYPE): cm = gen_clash_meta([s]) await send_del(q.message, f'```yaml\n{cm}\n```', parse_mode='Markdown') elif fmt == 'url': - url = f'http://YOUR_SERVER:18888/{SUB_SECRET}/download?target=ClashMeta' + url = f'https://substore.mjjtop.com/{SUB_SECRET}/download?target=ClashMeta' await send_del(q.message, f'📎 订阅URL:\n{url}') return @@ -235,7 +235,7 @@ async def cb_getsub(update: Update, context: ContextTypes.DEFAULT_TYPE): proto, fmt = parts[1], parts[2] subs = alive if proto == 'all' else [s for s in alive if s['type'] == proto] if fmt == 'clash': - url = f'http://YOUR_SERVER:18888/{SUB_SECRET}/download?target=ClashMeta' + url = f'https://substore.mjjtop.com/{SUB_SECRET}/download?target=ClashMeta' if proto != 'all': url += f'&type={proto}' return await send_del(q.message, f'📎 Clash Meta 订阅链接:\n{url}') links = '\n'.join(s['link'] for s in subs) @@ -249,7 +249,7 @@ async def cb_getsub(update: Update, context: ContextTypes.DEFAULT_TYPE): return if action == 'get_all_clash': - url = 'http://YOUR_SERVER:18888/{SUB_SECRET}/download?target=ClashMeta' + url = f'https://substore.mjjtop.com/{SUB_SECRET}/download?target=ClashMeta' await send_del(q.message, f'📎 Clash Meta 订阅链接:\n{url}') return @@ -340,7 +340,7 @@ async def cb_multiout(update: Update, context: ContextTypes.DEFAULT_TYPE): await send_del(q.message, f'```yaml\n{cm}\n```', parse_mode='Markdown') elif fmt == 'url': names = ','.join(urllib.request.quote(s['name']) for s in chosen) - url = f'http://YOUR_SERVER:18888/{SUB_SECRET}/download?target=ClashMeta&name={names}' + url = f'https://substore.mjjtop.com/{SUB_SECRET}/download?target=ClashMeta&name={names}' await send_del(q.message, f'📎 订阅URL:\n{url}') elif fmt == 'b64': links = '\n'.join(s['link'] for s in chosen)