And another good library

This commit is contained in:
Michael 2019-06-12 09:07:30 +00:00
parent 6646d0f963
commit e52e6f7be2
2 changed files with 3 additions and 2 deletions

View file

@ -70,7 +70,7 @@ function blockbot_init_1(App $a) {
'Python-urllib/', 'Liferea/', 'aiohttp/', 'WordPress.com Reader', 'hackney/',
'Faraday v', 'okhttp', 'UniversalFeedParser', 'PixelFedBot', 'python-requests',
'WordPress/', 'http.rb/', 'Apache-HttpClient/', 'WordPress.com;', 'Pleroma',
'Dispatch/', 'Ruby', 'Uptimebot/', 'Java/'];
'Dispatch/', 'Ruby', 'Uptimebot/', 'Java/', 'libwww-perl/'];
foreach ($agents as $agent) {
if (stristr($_SERVER['HTTP_USER_AGENT'], $agent)) {