1
0
mirror of https://github.com/wbt5/real-url.git synced 2025-06-17 08:25:25 +08:00
This commit is contained in:
BoneAsh 2021-07-03 11:15:35 +08:00
parent 533ca84268
commit 74bfcfe483

View File

@ -32,11 +32,11 @@ class HuYa:
}
else:
stream_name = self.get_stream_name(livelineurl)
base_url = 'http://121.12.115.26/tx.hls.huya.com/src/' + stream_name
base_url = 'http://121.12.115.29/tx.hls.huya.com/src/' + stream_name
real_url = {
'hls': base_url + '.m3u8',
# 'hls': base_url + '.m3u8',
'flv': base_url + '.flv',
'hls_2m': base_url + '.m3u8?ratio=2000',
# 'hls_2m': base_url + '.m3u8?ratio=2000',
'flv_2m': base_url + '.flv?ratio=2000'
}
else: