mirror of
https://github.com/ihmily/DouyinLiveRecorder.git
synced 2025-12-25 21:36:46 +08:00
fix: update huya live record
This commit is contained in:
parent
9e494f4377
commit
f73ce7b68e
4
main.py
4
main.py
@ -4,7 +4,7 @@
|
||||
Author: Hmily
|
||||
GitHub: https://github.com/ihmily
|
||||
Date: 2023-07-17 23:52:05
|
||||
Update: 2025-02-06 02:05:00
|
||||
Update: 2025-02-08 19:19:00
|
||||
Copyright (c) 2023-2025 by Hmily, All Rights Reserved.
|
||||
Function: Record live stream video.
|
||||
"""
|
||||
@ -548,7 +548,7 @@ def start_record(url_data: tuple, count_variable: int = -1) -> None:
|
||||
elif record_url.find("https://www.huya.com/") > -1:
|
||||
platform = '虎牙直播'
|
||||
with semaphore:
|
||||
if record_quality not in ['原画', '蓝光', '超清']:
|
||||
if record_quality not in ['OD', 'BD', 'UHD']:
|
||||
json_data = asyncio.run(spider.get_huya_stream_data(
|
||||
url=record_url,
|
||||
proxy_addr=proxy_address,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user