T
TelegramBot
Telegram web crawler for link previews
About this crawler
TelegramBot is a web crawler identified by the regular-expression pattern TelegramBot in the User-Agent request header. It is categorised as social-preview. Use the regex above to detect, log, allow, or block TelegramBot traffic in your web server, CDN edge rules, or robots.txt.
Block-rate · top 25k sites
0.20%
Technical details
- Name
- TelegramBot
- Pattern
TelegramBot- Tags
- social-preview
- Added
- 2017/10/01
- rDNS suffixes
.t.me,.telegram.org- Instances
- 1 known sample(s)
rDNS verification (FCrDNS)
Verify a request is genuinely TelegramBot with forward-confirmed reverse DNS: the client IP's PTR record must end in one of the suffixes below and a forward A/AAAA lookup of that hostname must return the same IP. UA strings alone are spoofable; FCrDNS is not.
.t.me.telegram.org
Sample User-Agent strings
TelegramBot (like TwitterBot)
Block this crawler
robots.txt — disallow TelegramBot:
User-agent: TelegramBot
Disallow: /
Apache .htaccess — return 403:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} TelegramBot [NC]
RewriteRule .* - [F,L]
Nginx — return 403 inside a server block:
if ($http_user_agent ~* "TelegramBot") {
return 403;
}
← back to all crawlers