Skip to content

Commit

Permalink
Mark ClaudeBot as a robot
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Apr 25, 2024
1 parent 5d4c227 commit dcc589d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Revision history for CGI-Info

0.82
Mark ClaudeBot as a robot

0.81 Tue Apr 9 10:08:29 EDT 2024
Use Test::Needs
Added t/version.t
Expand Down
2 changes: 1 addition & 1 deletion lib/CGI/Info.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1402,7 +1402,7 @@ sub is_robot {
}
return 1;
}
if($agent =~ /.+bot|axios\/1\.6\.7|bytespider|msnptc|is_archiver|backstreet|spider|scoutjet|gingersoftware|heritrix|dodnetdotcom|yandex|nutch|ezooms|plukkie|nova\.6scan\.com|Twitterbot|adscanner|python-requests|Mediatoolkitbot|NetcraftSurveyAgent|Expanse|serpstatbot|DreamHost SiteMonitor|techiaith.cymru|ias_crawler|ZoominfoBot/i) {
if($agent =~ /.+bot|axios\/1\.6\.7|bytespider|ClaudeBot|msnptc|is_archiver|backstreet|spider|scoutjet|gingersoftware|heritrix|dodnetdotcom|yandex|nutch|ezooms|plukkie|nova\.6scan\.com|Twitterbot|adscanner|python-requests|Mediatoolkitbot|NetcraftSurveyAgent|Expanse|serpstatbot|DreamHost SiteMonitor|techiaith.cymru|ias_crawler|ZoominfoBot/i) {
$self->{is_robot} = 1;
return 1;
}
Expand Down

0 comments on commit dcc589d

Please sign in to comment.