From 73d9ee133448be51c76c04b6fd6daca5362c4b03 Mon Sep 17 00:00:00 2001 From: ihmily <114978440+ihmily@users.noreply.github.com> Date: Sat, 25 Jan 2025 14:25:43 +0800 Subject: [PATCH] fix: update vvxq live record --- demo.py | 10 +++++++--- main.py | 4 ++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/demo.py b/demo.py index 9bc2f82..b873e8b 100644 --- a/demo.py +++ b/demo.py @@ -143,8 +143,8 @@ LIVE_STREAM_CONFIG = { "func": spider.get_haixiu_stream_url, }, "vvxqiu": { - "url": "https://h5webcdn-pro.vvxqiu.com//activity/videoShare/videoShare.html?h5Server=https://h5p.vvxqiu.com" - "&roomId=LP115924473&platformId=vvstar", + "url": "https://h5webcdnp.vvxqiu.com//activity/videoShare/videoShare.html?h5Server=https://h5p.vvxqiu.com&" + "roomId=LP115664695&platformId=vvstar", "func": spider.get_vvxqiu_stream_url, }, "17live": { @@ -186,6 +186,10 @@ LIVE_STREAM_CONFIG = { "jd": { "url": "https://3.cn/28MLBy-E", "func": spider.get_jd_stream_url, + }, + "faceit": { + "url": "https://www.faceit.com/zh/players/Compl1/stream", + "func": spider.get_faceit_stream_data, } } @@ -204,4 +208,4 @@ def test_live_stream(platform_name: str, proxy_addr=None, cookies=None) -> None: if __name__ == "__main__": platform = "douyin" - test_live_stream(platform) + test_live_stream(platform) \ No newline at end of file diff --git a/main.py b/main.py index 1ebf2cd..0a3821e 100644 --- a/main.py +++ b/main.py @@ -808,7 +808,7 @@ def start_record(url_data: tuple, count_variable: int = -1) -> None: port_info = asyncio.run(spider.get_haixiu_stream_url( url=record_url, proxy_addr=proxy_address, cookies=haixiu_cookie)) - elif record_url.find("h5webcdn-pro.vvxqiu.com/") > -1: + elif record_url.find("vvxqiu.com/") > -1: platform = 'VV星球' with semaphore: port_info = asyncio.run(spider.get_vvxqiu_stream_url( @@ -1828,7 +1828,7 @@ while True: 'www.inke.cn', 'www.zhihu.com', 'www.haixiutv.com', - "h5webcdn-pro.vvxqiu.com", + "h5webcdnp.vvxqiu.com", "17.live", 'www.lang.live', "m.pp.weimipopo.com",