mirror of
https://github.com/wbt5/real-url.git
synced 2025-07-26 10:30:32 +08:00
Fix huya
This commit is contained in:
parent
533ca84268
commit
74bfcfe483
6
huya.py
6
huya.py
@ -32,11 +32,11 @@ class HuYa:
|
|||||||
}
|
}
|
||||||
else:
|
else:
|
||||||
stream_name = self.get_stream_name(livelineurl)
|
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 = {
|
real_url = {
|
||||||
'hls': base_url + '.m3u8',
|
# 'hls': base_url + '.m3u8',
|
||||||
'flv': base_url + '.flv',
|
'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'
|
'flv_2m': base_url + '.flv?ratio=2000'
|
||||||
}
|
}
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user