Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wbt5大佬还在不?虎牙的失效了,有木有计划修复一下啊 #360

Open
iancsy opened this issue Jul 8, 2022 · 7 comments · May be fixed by #361
Open

wbt5大佬还在不?虎牙的失效了,有木有计划修复一下啊 #360

iancsy opened this issue Jul 8, 2022 · 7 comments · May be fixed by #361

Comments

@iancsy
Copy link

iancsy commented Jul 8, 2022

获取的地址已经无法打开了

@zheyiyuezhuo
Copy link

我也是,获得的链接无法播放以及无法下载,下载只是下载一段的,是不是获取的链接加了时间限制啥的

@dingzhengjie
Copy link

#331

@4bbu6j5885o3gpv6ss8
Copy link

没想到会轮的到小白解答 测试后连接 能播放一段 证明还能用 似着净化了部分参数就可以了
real_url = re.findall(r'^(.*?)&ctype',real_url)[0]
print(real_url)

@4bbu6j5885o3gpv6ss8
Copy link

发现一些直播间是 .slice 切片的格式不能解码播放 等大佬搞定

@zheyiyuezhuo
Copy link

没想到会轮的到小白解答 测试后连接 能播放一段 证明还能用 似着净化了部分参数就可以了 real_url = re.findall(r'^(.*?)&ctype',real_url)[0] print(real_url)

这个是直接修改huya.py最后几行,把 get_real_url(rid) 修改为 re.findall(r'^(.*?)&ctype',real_url)[0] 吗?
我修改好以后运行提示错误,错误代码如下,还是说我改的不对

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

@Icarusradio
Copy link

没想到会轮的到小白解答 测试后连接 能播放一段 证明还能用 似着净化了部分参数就可以了 real_url = re.findall(r'^(.*?)&ctype',real_url)[0] print(real_url)

这个是直接修改huya.py最后几行,把 get_real_url(rid) 修改为 re.findall(r'^(.*?)&ctype',real_url)[0] 吗? 我修改好以后运行提示错误,错误代码如下,还是说我改的不对

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

不是的,是在下面加一行

real_url = get_real_url(rid)
real_url = re.findall(r'^(.*?)&ctype',real_url)[0]
print('该直播间源地址为:')
print(real_url)

namasikanam added a commit to namasikanam/real-url that referenced this issue Jul 24, 2022
@namasikanam namasikanam linked a pull request Jul 24, 2022 that will close this issue
@Xmarmalade
Copy link

现在又失效了,获取到的 .flv 只有一段 .m3u8直接403

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants