mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-05 21:58:56 +08:00
commit
94a5404867
@ -40,6 +40,9 @@ function createWebAPIRequest(
|
||||
errorcallback
|
||||
) {
|
||||
// console.log(cookie);
|
||||
if (cookie.match(/_csrf=[^(;|$)]+;/g))
|
||||
data.csrf_token = cookie.match(/_csrf=[^(;|$)]+/g)[0].slice(6);
|
||||
else data.csrf_token = "";
|
||||
const proxy = cookie.split("__proxy__")[1];
|
||||
cookie = cookie.split("__proxy__")[0];
|
||||
const cryptoreq = Encrypt(data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user