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

pull/1066/merge
lyswhut 2022-12-10 13:06:18 +08:00
parent 8ecd6e6f54
commit 9a57118300
1 changed files with 1 additions and 1 deletions

View File

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