修复某些kg歌单链接无法打开的问题
parent
8af458e61a
commit
c8eac2690f
|
@ -21,3 +21,4 @@
|
||||||
- 修复播放下载列表的歌曲时,调整歌词偏移时间功能异常的问题
|
- 修复播放下载列表的歌曲时,调整歌词偏移时间功能异常的问题
|
||||||
- 修复较旧Linux arm64系统下无法启动软件的问题(将预构建模块的所需glibc版本降级到2.27)(#1161)
|
- 修复较旧Linux arm64系统下无法启动软件的问题(将预构建模块的所需glibc版本降级到2.27)(#1161)
|
||||||
- 修改列表响应式更新机制,尝试修复偶现的删除歌曲列表未更新的问题
|
- 修改列表响应式更新机制,尝试修复偶现的删除歌曲列表未更新的问题
|
||||||
|
- 修复某些kg歌单链接无法打开的问题
|
||||||
|
|
|
@ -517,7 +517,8 @@ export default {
|
||||||
if (id.includes('special/single/')) {
|
if (id.includes('special/single/')) {
|
||||||
id = id.replace(this.regExps.listDetailLink, '$1')
|
id = id.replace(this.regExps.listDetailLink, '$1')
|
||||||
} else if (/https?:/.test(id)) {
|
} 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)) {
|
} else if (/^\d+$/.test(id)) {
|
||||||
return this.getUserListDetailByCode(id)
|
return this.getUserListDetailByCode(id)
|
||||||
} else if (id.startsWith('id_')) {
|
} else if (id.startsWith('id_')) {
|
||||||
|
|
Loading…
Reference in New Issue