Skip to content

Commit

Permalink
Treat CCleaner as an actual browser, not a bot (#273)
Browse files Browse the repository at this point in the history
Resolve #272
  • Loading branch information
omrilotan authored Aug 15, 2024
1 parent c1945b2 commit 442766d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [5.1.16](https://github.com/omrilotan/isbot/compare/v5.1.15...v5.1.16)

- [Pattern] Treat CCleaner broswer as an actual browser, not a bot

## [5.1.15](https://github.com/omrilotan/isbot/compare/v5.1.14...v5.1.15)

- [Pattern] Pattern updates for better recognition
Expand Down
4 changes: 4 additions & 0 deletions fixtures/browsers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ Brave:
- Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Brave Chrome/76.0.3809.132 Safari/537.36
Camino:
- Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en; rv:1.9.2.28) Gecko/20120308 Camino/2.1.2 (like Firefox/3.6.28)
CCleaner:
- Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 CCleaner/122.0.0.0
- Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 CCleaner/125.0.0.0
- Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 CCleaner/126.0.0.0
Charon:
- Mozilla/4.08 (Charon; Inferno)
Cheetah Browser:
Expand Down
3 changes: 0 additions & 3 deletions fixtures/crawlers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,6 @@ CATExplorador:
ccBot crawler:
- CCBot/1.0 (+https://commoncrawl.org/bot.html)
- CCBot/2.0 (http://commoncrawl.org/faq/)
CCleaner:
- Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 CCleaner/125.0.0.0
- Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 CCleaner/126.0.0.0
Censys:
- Mozilla/5.0 (compatible; CensysInspect/1.1; +https://about.censys.io/)
CF-UC:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "isbot",
"version": "5.1.15",
"version": "5.1.16",
"description": "🤖/👨‍🦰 Recognise bots/crawlers/spiders using the user agent string.",
"keywords": [
"bot",
Expand Down
2 changes: 1 addition & 1 deletion src/patterns.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@
"chrome-lighthouse",
"chromeframe",
"classifier",
"clean",
"cloudflare",
"convertify",
"crawl",
Expand Down Expand Up @@ -156,6 +155,7 @@
"spider",
"splash",
"statuscake",
"supercleaner",
"synapse",
"synthetic",
"tools",
Expand Down

0 comments on commit 442766d

Please sign in to comment.