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?://[^"]*)"`)