redditbot
Reddit's web crawler for content sharing
About this crawler
redditbot is a web crawler identified by the regular-expression pattern redditbot in the User-Agent request header. It is categorised as social-preview. Use the regex above to detect, log, allow, or block redditbot traffic in your web server, CDN edge rules, or robots.txt.
Block-rate · top 25k sites
0.13%
Technical details
- Name
- redditbot
- Pattern
redditbot- Tags
- social-preview
- Reference
- https://www.reddit.com/feedback
- Added
- 2016/11/03
- rDNS suffixes
.reddit.com,.redditmedia.com- Instances
- 1 known sample(s)
rDNS verification (FCrDNS)
Verify a request is genuinely redditbot 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.
.reddit.com.redditmedia.com
Sample User-Agent strings
Mozilla/5.0 (compatible; redditbot/1.0; +http://www.reddit.com/feedback)
Block this crawler
robots.txt — disallow redditbot:
User-agent: redditbot
Disallow: /
Apache .htaccess — return 403:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} redditbot [NC]
RewriteRule .* - [F,L]
Nginx — return 403 inside a server block:
if ($http_user_agent ~* "redditbot") {
return 403;
}
← back to all crawlers