update User-Agent
parent
d7bd6309eb
commit
6d5f4b66a5
|
|
@ -38,9 +38,9 @@ export const S3SI_LINK = "https://github.com/spacemeowx2/s3si.ts";
|
|||
|
||||
export const USERAGENT = `${AGENT_NAME}/${S3SI_VERSION} (${S3SI_LINK})`;
|
||||
export const DEFAULT_APP_USER_AGENT =
|
||||
"Mozilla/5.0 (Linux; Android 11; Pixel 5) " +
|
||||
"Mozilla/5.0 (Linux; Android 14; Pixel 7a) " +
|
||||
"AppleWebKit/537.36 (KHTML, like Gecko) " +
|
||||
"Chrome/94.0.4606.61 Mobile Safari/537.36";
|
||||
"Chrome/120.0.6099.230 Mobile Safari/537.36";
|
||||
export const SPLATNET3_URL = "https://api.lp1.av5ja.srv.nintendo.net";
|
||||
export const SPLATNET3_ENDPOINT =
|
||||
"https://api.lp1.av5ja.srv.nintendo.net/api/graphql";
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ export async function getGToken(
|
|||
"Content-Type": "application/json",
|
||||
"Accept": "application/json",
|
||||
"Connection": "Keep-Alive",
|
||||
"User-Agent": "Dalvik/2.1.0 (Linux; U; Android 7.1.2)",
|
||||
"User-Agent": "Dalvik/2.1.0 (Linux; U; Android 14; Pixel 7a Build/UQ1A.240105.004)",
|
||||
},
|
||||
body: JSON.stringify({
|
||||
"client_id": "71b963c1b7b6d119",
|
||||
|
|
@ -194,7 +194,7 @@ export async function getGToken(
|
|||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Connection": "Keep-Alive",
|
||||
"Accept-Encoding": "gzip",
|
||||
"User-Agent": `com.nintendo.znca/${NSOAPP_VERSION}(Android/7.1.2)`,
|
||||
"User-Agent": `com.nintendo.znca/${NSOAPP_VERSION}(Android/14)`,
|
||||
},
|
||||
body: JSON.stringify({
|
||||
parameter: {
|
||||
|
|
@ -244,7 +244,7 @@ export async function getGToken(
|
|||
"Authorization": `Bearer ${idToken}`,
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Accept-Encoding": "gzip",
|
||||
"User-Agent": `com.nintendo.znca/${NSOAPP_VERSION}(Android/7.1.2)`,
|
||||
"User-Agent": `com.nintendo.znca/${NSOAPP_VERSION}(Android/14)`,
|
||||
},
|
||||
body: JSON.stringify({
|
||||
parameter: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue