From e3eed627085a790ed65211ea1c9615a7b541de94 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Sat, 15 Jul 2023 19:37:19 +0800 Subject: [PATCH] fix(provider/match): remove md5 info for kuwo api Kuwo no longer providers md5 info in its response headers. Signed-off-by: Tianling Shen --- src/provider/match.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/provider/match.js b/src/provider/match.js index 62a2ded789..55b0101cbb 100644 --- a/src/provider/match.js +++ b/src/provider/match.js @@ -205,8 +205,6 @@ async function check(url) { // Set the MD5 info of this song. if (isHost('126.net')) song.md5 = song.url.split('/').slice(-1)[0].replace(/\..*/g, ''); - if (isHost('kuwo.cn') && song.br <= 320000) - song.md5 = headers['etag'].replace(/"/g, ''); if (isHost('qq.com')) song.md5 = headers['server-md5']; // Set the size info of this song.