From e80f1e653af496e4e20428b41d68f93cd0c55b66 Mon Sep 17 00:00:00 2001 From: Hmily <114978440+ihmily@users.noreply.github.com> Date: Wed, 27 Aug 2025 18:15:45 +0800 Subject: [PATCH] fix: update liveme room id match --- src/spider.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spider.py b/src/spider.py index 279b21a..950fa32 100644 --- a/src/spider.py +++ b/src/spider.py @@ -2061,8 +2061,8 @@ async def get_liveme_stream_url(url: str, proxy_addr: OptionalStr = None, cookie if cookies: headers['Cookie'] = cookies - html_str = await async_req(url, proxy_addr=proxy_addr, headers=headers, abroad=True) if 'index.html' not in url: + html_str = await async_req(url, proxy_addr=proxy_addr, headers=headers, abroad=True) match_url = re.search('', html_str) if match_url: url = match_url.group(1) @@ -3238,4 +3238,4 @@ async def get_picarto_stream_url(url: str, proxy_addr: OptionalStr = None, cooki title = json_data['channel']['title'] m3u8_url = f"https://1-edge1-us-newyork.picarto.tv/stream/hls/golive+{anchor_name}/index.m3u8" result |= {'is_live': True, 'title': title, 'm3u8_url': m3u8_url, 'record_url': m3u8_url} - return result \ No newline at end of file + return result