fix: 修改视频下载 URL
- 将视频下载 URL 从 "https://video.yuchat.top/m3u8/" 修改为 "https://video2.yuchat.top/m3u8/" - 这个修改可能是为了切换到不同的服务器或者 CDN,以提高下载速度或稳定性
This commit is contained in:
parent
dd1a20ec9b
commit
b74f79f721
@ -247,7 +247,7 @@ public class MadouVideoService extends ServiceImpl<MadouVideoMapper, MadouVideoI
|
|||||||
|
|
||||||
public void downloadTs(Long id, String ts) throws IOException {
|
public void downloadTs(Long id, String ts) throws IOException {
|
||||||
// https://video.yuchat.top/m3u8/{id}/{ts} 去获取内容
|
// https://video.yuchat.top/m3u8/{id}/{ts} 去获取内容
|
||||||
String url = "https://video.yuchat.top/m3u8/" + id + "/" + ts;
|
String url = "https://video2.yuchat.top/m3u8/" + id + "/" + ts;
|
||||||
try {
|
try {
|
||||||
httpRequestComponent.download(url, httpServletResponse.getOutputStream());
|
httpRequestComponent.download(url, httpServletResponse.getOutputStream());
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user