diff --git a/aggregator.py b/aggregator.py index 213595a..49182c2 100644 --- a/aggregator.py +++ b/aggregator.py @@ -306,12 +306,12 @@ async def fetch_vless_links(url: str) -> List[str]: content = resp.text.strip() try: decoded = base64.b64decode(content).decode('utf-8') - links = re.findall(r'(vless://[^\s\n]+)', decoded) + links = re.findall(r'([a-z]+://[^\s\n]+)', decoded) if links: return links except: pass - return re.findall(r'(vless://[^\s\n]+)', content) + return re.findall(r'([a-z]+://[^\s\n]+)', content) except Exception as e: logger.error(f"Fetch error: {e}") return []