MengYX
5 years ago
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604
4 changed files with
21 additions and
8 deletions
-
public/index.html
-
src/App.vue
-
src/plugins/ncm.js
-
src/plugins/qmc.js
|
|
@ -4,6 +4,11 @@ |
|
|
|
<meta charset="utf-8"> |
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0"> |
|
|
|
<script>let _paq = window._paq || []; |
|
|
|
_paq.push(['trackPageView'], ['enableLinkTracking'], ['setSiteId', '2'], |
|
|
|
['setTrackerUrl', 'https://stats.ixarea.com/ixarea-stats/report']); |
|
|
|
</script> |
|
|
|
<script async src="https://stats.ixarea.com/ixarea-stats.js"></script> |
|
|
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> |
|
|
|
<title>音乐解锁 - By IXarea</title> |
|
|
|
<meta content="音乐,解锁,ncm,qmc,qmc0,qmc3,qmcflac,qq音乐,网易云音乐,加密" name="keywords"/> |
|
|
|
|
|
@ -140,11 +140,21 @@ |
|
|
|
title: '解锁成功', |
|
|
|
message: '成功解锁 ' + data.title |
|
|
|
}); |
|
|
|
let _rp_data = { |
|
|
|
original: data.original, |
|
|
|
title: data.title, |
|
|
|
album: data.album, |
|
|
|
artist: data.artist, |
|
|
|
mime: data.mime |
|
|
|
}; |
|
|
|
console.log(data); |
|
|
|
_paq.push(["trackEvent", "Unlock", "Success", JSON.stringify(_rp_data)]); |
|
|
|
} else { |
|
|
|
this.$notify.error({ |
|
|
|
title: '错误', |
|
|
|
message: '不支持此文件类型' |
|
|
|
message: '解析此文件时出现问题' |
|
|
|
}); |
|
|
|
_paq.push(["trackEvent", "Unlock", "Error", file.name]); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -190,7 +200,6 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
</script> |
|
|
|
|
|
|
|
<style> |
|
|
|
|
|
@ -172,13 +172,12 @@ async function Decrypt(file) { |
|
|
|
const musicUrl = URL.createObjectURL(musicData); |
|
|
|
const filename = artists.join(" & ") + " - " + musicMeta.musicName + "." + musicMeta.format; |
|
|
|
return { |
|
|
|
meta: musicMeta, |
|
|
|
file: musicUrl, |
|
|
|
picture: musicMeta.albumPic, |
|
|
|
filename: filename, |
|
|
|
title: musicMeta.musicName, |
|
|
|
album: musicMeta.album, |
|
|
|
artist: artists.join(" & "), |
|
|
|
filename: filename, |
|
|
|
album: musicMeta.album, |
|
|
|
picture: musicMeta.albumPic, |
|
|
|
file: musicUrl, |
|
|
|
mime: mime |
|
|
|
}; |
|
|
|
} |
|
|
|
|
|
@ -78,8 +78,8 @@ async function Decrypt(file) { |
|
|
|
title: title, |
|
|
|
artist: artist, |
|
|
|
album: tag.common.album, |
|
|
|
file: musicUrl, |
|
|
|
picture: pic_url, |
|
|
|
file: musicUrl, |
|
|
|
mime: mime |
|
|
|
} |
|
|
|
} |
|
|
|