From bd22769f017e2f733f72982d00ee50be9a5ee09d Mon Sep 17 00:00:00 2001 From: CaoZhi Li Date: Thu, 20 Jan 2022 15:21:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=93=E5=AE=BD=20UA=20=E5=8C=B9=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Access_UA.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Access_UA.php b/Access_UA.php index e804ed9..5a9c3bb 100644 --- a/Access_UA.php +++ b/Access_UA.php @@ -54,6 +54,11 @@ class Access_UA { 'Fish search', 'crawler', 'bingbot', + 'DNSPod-Monitor', // DNSPod D监控 + 'Reeder', // RSS 阅读器 + 'Tiny Tiny RSS', // RSS 阅读器 + 'inoreader', // RSS 阅读器 + 'python-requests', ); private $ua; @@ -262,7 +267,7 @@ class Access_UA { } elseif (preg_match('#Maxthon( |\/)([a-zA-Z0-9.]+)#i', $this->ua, $matches)) { $this->browserID = $this->browserName = 'Maxthon'; $this->browserVersion = $matches[2]; - } elseif (preg_match('#Edge/([a-zA-Z0-9.]+)#i', $this->ua, $matches)) { + } elseif (preg_match('#Edg/([a-zA-Z0-9.]+)#i', $this->ua, $matches)) { $this->browserID = $this->browserName = 'Edge'; $this->browserVersion = $matches[1]; } elseif (preg_match('#Chrome/([a-zA-Z0-9.]+)#i', $this->ua, $matches)) {