From aba8cbcb54e65bc058ee1cec94ec5240dabe6fb6 Mon Sep 17 00:00:00 2001 From: thzxx Date: Wed, 10 Jun 2026 18:15:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=99=BE=E5=BA=A6=E6=AD=A3=E5=88=99?= =?UTF-8?q?=E4=B9=9F=E7=A7=BB=E9=99=A4=E5=89=8D=E7=9E=BB(=3F=3D)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- search-proxy/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search-proxy/main.go b/search-proxy/main.go index 8312d87..a761f67 100644 --- a/search-proxy/main.go +++ b/search-proxy/main.go @@ -138,7 +138,7 @@ var ( reDDGLink = regexp.MustCompile(`]*href="(https?://[^"]*)"[^>]*>([\s\S]*?)`) - reBaiduBlock = regexp.MustCompile(`
]*>([\s\S]*?)(?=
]*>([\s\S]*?)
\s*(?:
]*>[\s\S]*?]*href="([^"]*)"[^>]*>([\s\S]*?)`) reBaiduSnip = regexp.MustCompile(`
]*>([\s\S]*?)
`) reBaiduDURL = regexp.MustCompile(`data-url="(https?://[^"]*)"`)