修复某些kg歌单链接无法打开的问题

pull/1211/head
lyswhut 2023-02-06 14:21:16 +08:00
parent 8af458e61a
commit c8eac2690f
2 changed files with 3 additions and 1 deletions

View File

@ -21,3 +21,4 @@
- 修复播放下载列表的歌曲时,调整歌词偏移时间功能异常的问题
- 修复较旧Linux arm64系统下无法启动软件的问题将预构建模块的所需glibc版本降级到2.27#1161
- 修改列表响应式更新机制,尝试修复偶现的删除歌曲列表未更新的问题
- 修复某些kg歌单链接无法打开的问题

View File

@ -517,7 +517,8 @@ export default {
if (id.includes('special/single/')) {
id = id.replace(this.regExps.listDetailLink, '$1')
} else if (/https?:/.test(id)) {
return this.getUserListDetail(id.replace(/^.*http/, 'http'), page)
// fix https://www.kugou.com/songlist/xxx/?uid=xxx&chl=qq_client&cover=http%3A%2F%2Fimge.kugou.com%xxx.jpg&iszlist=1
return this.getUserListDetail(id.replace(/^.*?http/, 'http'), page)
} else if (/^\d+$/.test(id)) {
return this.getUserListDetailByCode(id)
} else if (id.startsWith('id_')) {