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

This commit is contained in:
lyswhut 2022-12-10 13:11:50 +08:00
parent 43906f9506
commit a4a6a782c9
2 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
### 修复
- 修复某些歌曲的桌面歌词翻译或罗马音没有显示的问题
- 修复kg某些歌单链接无法打开的问题

View File

@ -508,7 +508,7 @@ export default {
} else return this.getUserListDetail3(location.replace(/.+\/(\w+).html(?:\?.*|&.*$|#.*$|$)/, '$1'), page)
}
// console.log('location', location)
return this.getUserListDetail(link, page, ++retryNum)
// return this.getUserListDetail(link, page, ++retryNum)
}
if (typeof body == 'string') return this.getUserListDetail2(body.replace(/^[\s\S]+?"global_collection_id":"(\w+)"[\s\S]+?$/, '$1'))
if (body.errcode !== 0) return this.getUserListDetail(link, page, ++retryNum)