Mechanize

http-library [mM]echanize

Mechanize Ruby web crawler library

About this crawler

Mechanize is a web crawler identified by the regular-expression pattern [mM]echanize in the User-Agent request header. It is categorised as http-library. Use the regex above to detect, log, allow, or block Mechanize traffic in your web server, CDN edge rules, or robots.txt.

Block-rate · top 25k sites

0.13%
latest snapshot
2026-06-04
matched key: Mechanize
2026-05-012026-06-040.15%

Technical details

Name
Mechanize
Pattern
[mM]echanize
Tags
http-library
Reference
https://github.com/sparklemotion/mechanize
Added
2026/04/07
Instances
1 known sample(s)

Sample User-Agent strings

Mechanize/2.9.1 Ruby/3.1.2 (http://github.com/sparklemotion/mechanize/)

Block this crawler

robots.txt — disallow Mechanize:

User-agent: Mechanize Disallow: /

Apache .htaccess — return 403:

RewriteEngine On RewriteCond %{HTTP_USER_AGENT} [mM]echanize [NC] RewriteRule .* - [F,L]

Nginx — return 403 inside a server block:

if ($http_user_agent ~* "[mM]echanize") { return 403; }
← back to all crawlers