fix: update vvxq live record

This commit is contained in:
ihmily 2025-01-25 14:25:43 +08:00
parent 2fa830307f
commit 73d9ee1334
2 changed files with 9 additions and 5 deletions

10
demo.py
View File

@ -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)

View File

@ -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",