Please refer to the script's homepage for more information.
< Feedback op Iwara Enhancement
function parseSearchParams(searchParams: URLSearchParams, initialObject = {}): {} { return [...searchParams.entries()].reduce((acc, [key, value]) => ({ ...acc, [key]: value }), initialObject); } async function getXVersion(urlString: string): Promise<string> { let url = new URL(urlString) let params = parseSearchParams(url.searchParams) const data = new TextEncoder().encode(`${url.pathname.split("/").pop()}_${params['expires']}_5nFp9kmbNnHdAFhaqMvt`); const hashBuffer = await crypto.subtle.digest("SHA-1", data); return Array.from(new Uint8Array(hashBuffer)) .map(b => b.toString(16).padStart(2, "0")) .join(""); } fetch(url, { 'headers': Object.assign({ 'accept': 'application/json, text/plain, */*', 'x-version': await getXVersion(url) }, headers), "referrerPolicy": "strict-origin-when-cross-origin", 'referrer': referrer, 'method': 'GET', 'mode': 'cors', 'redirect': 'follow', 'credentials': 'omit' })
这是啥
Log in om antwoord te geven.