import * as impers from "impers";
const r = await impers.get("https://tls.peet.ws/api/all", { impersonate: "chrome" });
console.log(r.json());
const r2 = await impers.get("https://tls.peet.ws/api/all", { impersonate: "chrome" });
const r3 = await impers.get("https://tls.peet.ws/api/all", { impersonate: "chrome124" });
const r4 = await impers.get("https://tls.peet.ws/api/all", {
ja3: "771,4865-4866-4867-49195-49199,0-23-65281-10-11-35-16-5-13-18-51-45-43-27-17513,29-23-24,0",
akamai: "1:65536;3:1000;4:6291456;6:262144|15663105|0|m,a,s,p",
});
const r5 = await impers.get("https://tls.peet.ws/api/all", {
impersonate: "chrome",
proxy: "http://localhost:3128",
});
const r6 = await impers.get("https://tls.peet.ws/api/all", {
impersonate: "chrome",
proxy: "socks5://localhost:1080",
});