CrawlerDetect is a Python library for identifying bots, crawlers, and spiders by analyzing user agent strings. It is a port of the PHP Crawler-Detect library. Current version is 0.3.2, released infrequently.
pip install crawlerdetectVerified import paths — ran on the pinned version, not inferred.
Basic usage: create a CrawlerDetect instance and call is_crawler with a user agent string.
Fork or extend the library to update the signatures from the PHP source.
Pass the raw user agent string as obtained from request headers.
Use `from crawlerdetect import CrawlerDetect`.
Run `pip install crawlerdetect` in the correct Python environment.
Upgrade to latest version: `pip install --upgrade crawlerdetect`. Then use `from crawlerdetect import CrawlerDetect`.
No dependency data recorded yet.