diff --git a/proxy_providers/sandvpn_provider.py b/proxy_providers/sandvpn_provider.py new file mode 100644 index 0000000..947a692 --- /dev/null +++ b/proxy_providers/sandvpn_provider.py @@ -0,0 +1,14 @@ +import requests +from proxy_provider import ProxyProvider + +class SandVPNProvider(ProxyProvider): + """ + Fetch proxies from SandVPN browser extension + """ + PROXIES_LIST_URL = "https://nnp.nnchan.ru/mahoproxy.php?u=https://api.sandvpn.com/fetch-free-proxys" + + def fetch_proxies(self): + """Fetch proxies from SandVPN.""" + response = requests.get(self.PROXIES_LIST_URL, timeout=5) + response.raise_for_status() + return response.json() \ No newline at end of file