Skip to content

Commit

Permalink
set telegram user-agent@header
Browse files Browse the repository at this point in the history
  • Loading branch information
maanimis committed Jun 11, 2024
1 parent 7f6ca6b commit 8362be0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ while (true) {
Accept: "application/json",
"Sec-Ch-Ua": '"Not_A Brand";v="8", "Chromium";v="120"',
"Sec-Ch-Ua-Mobile": "?0",
"User-Agent":
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.6099.199 Safari/537.36",
"User-Agent": "TelegramBot (like TwitterBot)",
"Sec-Ch-Ua-Platform": '"Linux"',
Origin: "https://hamsterkombat.io",
"Sec-Fetch-Site": "same-site",
Expand Down

1 comment on commit 8362be0

@pipeworld
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"User-Agent": "TelegramBot (like TwitterBot)",
or
"User-Agent": "TelegramBot",

Please sign in to comment.