Skip to content

Commit

Permalink
fix(provider/match): remove md5 info for kuwo api
Browse files Browse the repository at this point in the history
Kuwo no longer providers md5 info in its response headers.

Signed-off-by: Tianling Shen <i@cnsztl.eu.org>
  • Loading branch information
1715173329 committed Jul 15, 2023
1 parent f24cad0 commit e3eed62
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/provider/match.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e3eed62

Please sign in to comment.