From 6306fe9cdd04ce7a602c67cb4bcf2826faa417a9 Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 17 Apr 2025 22:39:04 +0800 Subject: [PATCH] Update README.md from socks5h --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index f721821..452883b 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,8 @@ from googlesearch import search proxy = 'http://username:password@proxy.host.com:8080/' # or for socks5 # proxy = 'socks5://username:password@proxy.host.com:1080/' +# Use socks5h:// if you want DNS resolution to happen through the SOCKS5 proxy, ensuring better privacy and avoiding DNS leakage. +# proxy = 'socks5h://username:password@proxy.host.com:1080/' j = search("proxy test", num_results=100, lang="en", proxy=proxy, ssl_verify=False) for i in j: