Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/api/headers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: none
Sec-Fetch-User: ?1
Sec-CH-UA: "Chromium";v="153", "Google Chrome";v="153", "Not:A-Brand";v="99"
Sec-CH-UA: "Chromium";v="154", "Google Chrome";v="154", "Not:A-Brand";v="99"
Sec-CH-UA-Mobile: ?0
Sec-CH-UA-Platform: "Windows"
```
Expand All @@ -204,7 +204,7 @@ Sec-CH-UA-Platform: "Windows"
"Sec-Fetch-Mode": "navigate",
"Sec-Fetch-Site": "none",
"Sec-Fetch-User": "?1",
"Sec-CH-UA": "\"Chromium\";v=\"153\", \"Google Chrome\";v=\"153\", \"Not:A-Brand\";v=\"99\"",
"Sec-CH-UA": "\"Chromium\";v=\"154\", \"Google Chrome\";v=\"154\", \"Not:A-Brand\";v=\"99\"",
"Sec-CH-UA-Mobile": "?0",
"Sec-CH-UA-Platform": "\"Windows\""
}
Expand Down
6 changes: 3 additions & 3 deletions docs/captchas/alibaba-task.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1751,7 +1751,7 @@ class Worker {
"X-Request-Id": "2b4a7a52-d273-4049-a826-156aae856fe5",
"bx-v": "2.5.36",
"sec-ch-ua":
'"Chromium";v="153", "Not-A.Brand";v="24", "Google Chrome";v="153"',
'"Chromium";v="154", "Not-A.Brand";v="24", "Google Chrome";v="154"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
source: "web",
Expand Down Expand Up @@ -1786,7 +1786,7 @@ class Worker {
"X-Request-Id": "2b4a7a52-d273-4049-a826-156aae856fe5",
"bx-v": "2.5.36",
"sec-ch-ua":
'"Chromium";v="153", "Not-A.Brand";v="24", "Google Chrome";v="153"',
'"Chromium";v="154", "Not-A.Brand";v="24", "Google Chrome";v="154"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
source: "web",
Expand Down Expand Up @@ -1993,7 +1993,7 @@ class Worker:
"Version": "0.2.36",
"X-Request-Id": "2b4a7a52-d273-4049-a826-156aae856fe5",
"bx-v": "2.5.36",
"sec-ch-ua": '"Chromium";v="153", "Not-A.Brand";v="24", "Google Chrome";v="153"',
"sec-ch-ua": '"Chromium";v="154", "Not-A.Brand";v="24", "Google Chrome";v="154"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
"source": "web",
Expand Down
4 changes: 2 additions & 2 deletions docs/captchas/datadome.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ const BASE_HEADERS = {
"cache-control": "no-cache",
pragma: "no-cache",
"sec-ch-ua":
'"Chromium";v="153", "Google Chrome";v="153", ";Not A Brand";v="99"',
'"Chromium";v="154", "Google Chrome";v="154", ";Not A Brand";v="99"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
"sec-fetch-dest": "document",
Expand Down Expand Up @@ -617,7 +617,7 @@ BASE_HEADERS = {
"accept-language": "en-US,en;q=0.9",
"cache-control": "no-cache",
"pragma": "no-cache",
"sec-ch-ua": '"Chromium";v="153", "Google Chrome";v="153", ";Not A Brand";v="99"',
"sec-ch-ua": '"Chromium";v="154", "Google Chrome";v="154", ";Not A Brand";v="99"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
"sec-fetch-dest": "document",
Expand Down
8 changes: 4 additions & 4 deletions docs/captchas/hunt-task.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ const htmlHeaders = {
"cache-control": "no-cache",
pragma: "no-cache",
priority: "u=0, i",
"sec-ch-ua": `"Not:A-Brand";v="99", "Google Chrome";v="153", "Chromium";v="153"`,
"sec-ch-ua": `"Not:A-Brand";v="99", "Google Chrome";v="154", "Chromium";v="154"`,
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": `"Windows"`,
"sec-fetch-dest": "document",
Expand All @@ -552,7 +552,7 @@ const apiHeaders = {
"content-type": "application/vnd.api+json",
origin: BASE_URL,
referer: BASE_URL + "/", // Актуальный referer с сайта
"sec-ch-ua": `"Not:A-Brand";v="99", "Google Chrome";v="153", "Chromium";v="153"`,
"sec-ch-ua": `"Not:A-Brand";v="99", "Google Chrome";v="154", "Chromium";v="154"`,
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": `"Windows"`,
"sec-fetch-dest": "empty",
Expand Down Expand Up @@ -778,7 +778,7 @@ html_headers = {
"cache-control": "no-cache",
"pragma": "no-cache",
"priority": "u=0, i",
"sec-ch-ua": '"Not:A-Brand";v="99", "Google Chrome";v="153", "Chromium";v="153"',
"sec-ch-ua": '"Not:A-Brand";v="99", "Google Chrome";v="154", "Chromium";v="154"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
"sec-fetch-dest": "document",
Expand All @@ -799,7 +799,7 @@ api_headers = {
"content-type": "application/vnd.api+json",
"origin": BASE_URL,
"referer": BASE_URL + "/en", # Замените на актуальный referer с сайта
"sec-ch-ua": '"Not:A-Brand";v="99", "Google Chrome";v="153", "Chromium";v="153"',
"sec-ch-ua": '"Not:A-Brand";v="99", "Google Chrome";v="154", "Chromium";v="154"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
"sec-fetch-dest": "empty",
Expand Down
22 changes: 11 additions & 11 deletions docs/captchas/tspd-task.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ https://ru.api.capmonster.cloud/getTaskResult
```http
GET https://example.com/login?client_id=example.client.id&authorization_id=example_auth_id

sec-ch-ua: "Not:A-Brand";v="99", "Google Chrome";v="153", "Chromium";v="153"
sec-ch-ua: "Not:A-Brand";v="99", "Google Chrome";v="154", "Chromium";v="154"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"
upgrade-insecure-requests: 1
Expand Down Expand Up @@ -340,7 +340,7 @@ Upgrade-Insecure-Requests: 1
```http
GET https://example.com/login?client_id=example.client.id&authorization_id=example_auth_id

sec-ch-ua: "Not:A-Brand";v="99", "Google Chrome";v="153", "Chromium";v="153"
sec-ch-ua: "Not:A-Brand";v="99", "Google Chrome";v="154", "Chromium";v="154"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"
upgrade-insecure-requests: 1
Expand Down Expand Up @@ -407,7 +407,7 @@ const url =
// === Заголовки ===
const headers = {
"sec-ch-ua":
'"Not(A:Brand";v="8", "Chromium";v="153", "Google Chrome";v="153"',
'"Not(A:Brand";v="8", "Chromium";v="154", "Google Chrome";v="154"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
"Upgrade-Insecure-Requests": "1",
Expand Down Expand Up @@ -481,12 +481,12 @@ main().catch(console.error);
TS386a400d029=082670...87599c;
TS386a400d029=082670...40a8ea3;
TS386a400d078=082670...b4cbe2c;
TSd2153684027=082670...4415a6
TSd2154684027=082670...4415a6
```
```
TS386a400d029=08777...83ff9,
TS386a400d029=08777...fb459e,
TSd2153684027=08777...f0ad368
TSd2154684027=08777...f0ad368
```

или:
Expand Down Expand Up @@ -517,7 +517,7 @@ const url =
// === Задайте нужные заголовки ===
const headers = {
"sec-ch-ua":
'"Not(A:Brand";v="8", "Chromium";v="153", "Google Chrome";v="153"',
'"Not(A:Brand";v="8", "Chromium";v="154", "Google Chrome";v="154"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
"Upgrade-Insecure-Requests": "1",
Expand Down Expand Up @@ -739,7 +739,7 @@ async function main() {
proxyUrl,
headers: {
"sec-ch-ua":
'"Not:A-Brand";v="99", "Google Chrome";v="153", "Chromium";v="153"',
'"Not:A-Brand";v="99", "Google Chrome";v="154", "Chromium";v="154"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
"upgrade-insecure-requests": "1",
Expand Down Expand Up @@ -810,7 +810,7 @@ async function main() {
// Формирование финальных заголовков
const finalHeaders = {
"sec-ch-ua":
'"Not:A-Brand";v="99", "Google Chrome";v="153", "Chromium";v="153"',
'"Not:A-Brand";v="99", "Google Chrome";v="154", "Chromium";v="154"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
"upgrade-insecure-requests": "1",
Expand Down Expand Up @@ -912,7 +912,7 @@ class TSPDBypass:
"Accept-Encoding": "gzip, deflate, br",
"Connection": "keep-alive",
"Upgrade-Insecure-Requests": "1",
"sec-ch-ua": '"Google Chrome";v="153", "Not.A/Brand";v="8", "Chromium";v="153"',
"sec-ch-ua": '"Google Chrome";v="154", "Not.A/Brand";v="8", "Chromium";v="154"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
}
Expand Down Expand Up @@ -1077,7 +1077,7 @@ class TSPDBypass:

# Формирование финальных заголовков
final_headers = self.build_headers(final_cookies)
final_headers["sec-ch-ua"] = '"Google Chrome";v="153", "Not.A/Brand";v="8", "Chromium";v="153"'
final_headers["sec-ch-ua"] = '"Google Chrome";v="154", "Not.A/Brand";v="8", "Chromium";v="154"'
final_headers["sec-ch-ua-mobile"] = "?0"
final_headers["sec-ch-ua-platform"] = '"Windows"'
final_headers["Upgrade-Insecure-Requests"] = "1"
Expand Down Expand Up @@ -1163,7 +1163,7 @@ document.addEventListener("DOMContentLoaded", async () => {
userAgent: "userAgentPlaceholder",
metadata: {
tspdCookie:
"TS386a400d029=08...010245; TS386a400d029=08...01a06e; TS386a400d078=08...dbb3b0c; TSd2153684027=08...1944",
"TS386a400d029=08...010245; TS386a400d029=08...01a06e; TS386a400d078=08...dbb3b0c; TSd2154684027=08...1944",
htmlPageBase64: "your_html_page_base64",
},
proxy,
Expand Down
12 changes: 6 additions & 6 deletions docs/captchas/turnstile-challenge-task.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ const headers = {
"Sec-Fetch-Site": "none",
"Sec-Fetch-User": "?1",
"sec-ch-ua":
'"Chromium";v="153", "Google Chrome";v="153", "Not:A-Brand";v="99"',
'"Chromium";v="154", "Google Chrome";v="154", "Not:A-Brand";v="99"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
};
Expand Down Expand Up @@ -1601,7 +1601,7 @@ const headers = {
"Sec-Fetch-Site": "none",
"Sec-Fetch-User": "?1",
"sec-ch-ua":
'"Chromium";v="153", "Google Chrome";v="153", "Not:A-Brand";v="99"',
'"Chromium";v="154", "Google Chrome";v="154", "Not:A-Brand";v="99"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
};
Expand Down Expand Up @@ -1742,7 +1742,7 @@ session.headers.update({
"Sec-Fetch-Mode": "navigate",
"Sec-Fetch-Site": "none",
"Sec-Fetch-User": "?1",
"sec-ch-ua": '"Chromium";v="153", "Google Chrome";v="153", "Not:A-Brand";v="99"',
"sec-ch-ua": '"Chromium";v="154", "Google Chrome";v="154", "Not:A-Brand";v="99"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"'
})
Expand Down Expand Up @@ -1893,7 +1893,7 @@ session.headers.update({
"Sec-Fetch-Mode": "navigate",
"Sec-Fetch-Site": "none",
"Sec-Fetch-User": "?1",
"sec-ch-ua": '"Chromium";v="153", "Google Chrome";v="153", "Not:A-Brand";v="99"',
"sec-ch-ua": '"Chromium";v="154", "Google Chrome";v="154", "Not:A-Brand";v="99"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"'
})
Expand Down Expand Up @@ -2054,7 +2054,7 @@ class Program
Client.DefaultRequestHeaders.TryAddWithoutValidation("Sec-Fetch-Site", "none");
Client.DefaultRequestHeaders.TryAddWithoutValidation("Sec-Fetch-User", "?1");
Client.DefaultRequestHeaders.TryAddWithoutValidation("sec-ch-ua",
"\"Chromium\";v=\"153\", \"Google Chrome\";v=\"153\", \"Not:A-Brand\";v=\"99\"");
"\"Chromium\";v=\"154\", \"Google Chrome\";v=\"154\", \"Not:A-Brand\";v=\"99\"");
Client.DefaultRequestHeaders.TryAddWithoutValidation("sec-ch-ua-mobile", "?0");
Client.DefaultRequestHeaders.TryAddWithoutValidation("sec-ch-ua-platform",
"\"Windows\"");
Expand Down Expand Up @@ -2279,7 +2279,7 @@ class Program
Client.DefaultRequestHeaders.TryAddWithoutValidation("Sec-Fetch-Site", "none");
Client.DefaultRequestHeaders.TryAddWithoutValidation("Sec-Fetch-User", "?1");
Client.DefaultRequestHeaders.TryAddWithoutValidation("sec-ch-ua",
"\"Chromium\";v=\"153\", \"Google Chrome\";v=\"153\", \"Not:A-Brand\";v=\"99\"");
"\"Chromium\";v=\"154\", \"Google Chrome\";v=\"154\", \"Not:A-Brand\";v=\"99\"");
Client.DefaultRequestHeaders.TryAddWithoutValidation("sec-ch-ua-mobile", "?0");
Client.DefaultRequestHeaders.TryAddWithoutValidation("sec-ch-ua-platform",
"\"Windows\"");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: none
Sec-Fetch-User: ?1
Sec-CH-UA: "Chromium";v="153", "Google Chrome";v="153", "Not:A-Brand";v="99"
Sec-CH-UA: "Chromium";v="154", "Google Chrome";v="154", "Not:A-Brand";v="99"
Sec-CH-UA-Mobile: ?0
Sec-CH-UA-Platform: "Windows"
```
Expand All @@ -201,7 +201,7 @@ In JSON format:
"Sec-Fetch-Mode": "navigate",
"Sec-Fetch-Site": "none",
"Sec-Fetch-User": "?1",
"Sec-CH-UA": "\"Chromium\";v=\"153\", \"Google Chrome\";v=\"153\", \"Not:A-Brand\";v=\"99\"",
"Sec-CH-UA": "\"Chromium\";v=\"154\", \"Google Chrome\";v=\"154\", \"Not:A-Brand\";v=\"99\"",
"Sec-CH-UA-Mobile": "?0",
"Sec-CH-UA-Platform": "\"Windows\""
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1751,7 +1751,7 @@ class Worker {
"X-Request-Id": "2b4a7a52-d273-4049-a826-156aae856fe5",
"bx-v": "2.5.36",
"sec-ch-ua":
'"Chromium";v="153", "Not-A.Brand";v="24", "Google Chrome";v="153"',
'"Chromium";v="154", "Not-A.Brand";v="24", "Google Chrome";v="154"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
source: "web",
Expand Down Expand Up @@ -1786,7 +1786,7 @@ class Worker {
"X-Request-Id": "2b4a7a52-d273-4049-a826-156aae856fe5",
"bx-v": "2.5.36",
"sec-ch-ua":
'"Chromium";v="153", "Not-A.Brand";v="24", "Google Chrome";v="153"',
'"Chromium";v="154", "Not-A.Brand";v="24", "Google Chrome";v="154"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
source: "web",
Expand Down Expand Up @@ -2005,7 +2005,7 @@ class Worker:
"Version": "0.2.36",
"X-Request-Id": "2b4a7a52-d273-4049-a826-156aae856fe5",
"bx-v": "2.5.36",
"sec-ch-ua": '"Chromium";v="153", "Not-A.Brand";v="24", "Google Chrome";v="153"',
"sec-ch-ua": '"Chromium";v="154", "Not-A.Brand";v="24", "Google Chrome";v="154"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
"source": "web",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ const BASE_HEADERS = {
"cache-control": "no-cache",
pragma: "no-cache",
"sec-ch-ua":
'"Chromium";v="153", "Google Chrome";v="153", ";Not A Brand";v="99"',
'"Chromium";v="154", "Google Chrome";v="154", ";Not A Brand";v="99"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
"sec-fetch-dest": "document",
Expand Down Expand Up @@ -587,7 +587,7 @@ BASE_HEADERS = {
"accept-language": "en-US,en;q=0.9",
"cache-control": "no-cache",
"pragma": "no-cache",
"sec-ch-ua": '"Chromium";v="153", "Google Chrome";v="153", ";Not A Brand";v="99"',
"sec-ch-ua": '"Chromium";v="154", "Google Chrome";v="154", ";Not A Brand";v="99"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
"sec-fetch-dest": "document",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ const htmlHeaders = {
"cache-control": "no-cache",
pragma: "no-cache",
priority: "u=0, i",
"sec-ch-ua": `"Not:A-Brand";v="99", "Google Chrome";v="153", "Chromium";v="153"`,
"sec-ch-ua": `"Not:A-Brand";v="99", "Google Chrome";v="154", "Chromium";v="154"`,
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": `"Windows"`,
"sec-fetch-dest": "document",
Expand All @@ -532,7 +532,7 @@ const apiHeaders = {
"content-type": "application/vnd.api+json",
origin: BASE_URL,
referer: BASE_URL + "/", // Current referer from the website
"sec-ch-ua": `"Not:A-Brand";v="99", "Google Chrome";v="153", "Chromium";v="153"`,
"sec-ch-ua": `"Not:A-Brand";v="99", "Google Chrome";v="154", "Chromium";v="154"`,
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": `"Windows"`,
"sec-fetch-dest": "empty",
Expand Down Expand Up @@ -758,7 +758,7 @@ html_headers = {
"cache-control": "no-cache",
"pragma": "no-cache",
"priority": "u=0, i",
"sec-ch-ua": '"Not:A-Brand";v="99", "Google Chrome";v="153", "Chromium";v="153"',
"sec-ch-ua": '"Not:A-Brand";v="99", "Google Chrome";v="154", "Chromium";v="154"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
"sec-fetch-dest": "document",
Expand All @@ -779,7 +779,7 @@ api_headers = {
"content-type": "application/vnd.api+json",
"origin": BASE_URL,
"referer": BASE_URL + "/en", # Replace with the current referer from the website
"sec-ch-ua": '"Not:A-Brand";v="99", "Google Chrome";v="153", "Chromium";v="153"',
"sec-ch-ua": '"Not:A-Brand";v="99", "Google Chrome";v="154", "Chromium";v="154"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
"sec-fetch-dest": "empty",
Expand Down
Loading
Loading