You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "E:\Download\GitHub\real-url\huya.py", line 56, in<module>
real_url = re.findall(r'^(.*?)&ctype',real_url)[0]
NameError: name 'real_url' is not defined
Traceback (most recent call last):
File "E:\Download\GitHub\real-url\huya.py", line 56, in<module>
real_url = re.findall(r'^(.*?)&ctype',real_url)[0]
NameError: name 'real_url' is not defined
Activity
zheyiyuezhuo commentedon Jul 10, 2022
我也是,获得的链接无法播放以及无法下载,下载只是下载一段的,是不是获取的链接加了时间限制啥的
dingzhengjie commentedon Jul 10, 2022
#331
4bbu6j5885o3gpv6ss8 commentedon Jul 13, 2022
没想到会轮的到小白解答 测试后连接 能播放一段 证明还能用 似着净化了部分参数就可以了
real_url = re.findall(r'^(.*?)&ctype',real_url)[0]
print(real_url)
4bbu6j5885o3gpv6ss8 commentedon Jul 13, 2022
发现一些直播间是 .slice 切片的格式不能解码播放 等大佬搞定
zheyiyuezhuo commentedon Jul 21, 2022
这个是直接修改huya.py最后几行,把
get_real_url(rid)修改为re.findall(r'^(.*?)&ctype',real_url)[0]吗?我修改好以后运行提示错误,错误代码如下,还是说我改的不对
Icarusradio commentedon Jul 23, 2022
不是的,是在下面加一行
update huya according to issue wbt5#360
Xmarmalade commentedon Aug 7, 2022
现在又失效了,获取到的 .flv 只有一段 .m3u8直接403