From 54149447c3a9e0dd55a75e79b2aed7cd39670541 Mon Sep 17 00:00:00 2001
From: Bastien Le Querrec <blq@laquadrature.net>
Date: Mon, 18 Mar 2024 20:08:16 +0100
Subject: [PATCH] RAAspotter: se connecte au proxy Tor sur 127.0.0.1 au lieu de
 localhost

---
 RAAspotter.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/RAAspotter.py b/RAAspotter.py
index a1fd826..cf4bed5 100644
--- a/RAAspotter.py
+++ b/RAAspotter.py
@@ -94,8 +94,8 @@ class RAAspotter:
 
   def enable_tor(self, max_requests=0):
     proxies = {
-      "http": f"socks5h://localhost:9050",
-      "https": f"socks5h://localhost:9050",
+      "http": f"socks5h://127.0.0.1:9050",
+      "https": f"socks5h://127.0.0.1:9050",
     }
     self.tor_enabled      = True
     self.tor_max_requests = max_requests
-- 
GitLab