Skip to content

Commit

Permalink
pretend more
Browse files Browse the repository at this point in the history
  • Loading branch information
boomzero committed Sep 7, 2024
1 parent 0e06ded commit 684748a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Source/Process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,17 @@ export class Process {
const RequestData = new Request(RequestURL, {
headers: {
"Cookie": "PHPSESSID=" + this.SessionID,
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Safari/605.1.15"
}
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Safari/605.1.15",
"accept": "*/*",
"accept-language": "en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7",
"permissions-policy": "browsing-topics=()",
"sec-ch-ua-platform": "\"macOS\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin"
}, "method": "GET",
"mode": "cors",
"credentials": "include"
});
return await fetch(RequestData);
}
Expand Down

0 comments on commit 684748a

Please sign in to comment.