diff --git a/unshackle/core/proxies/windscribevpn.py b/unshackle/core/proxies/windscribevpn.py index e547e8f..c8ffd2d 100644 --- a/unshackle/core/proxies/windscribevpn.py +++ b/unshackle/core/proxies/windscribevpn.py @@ -45,14 +45,15 @@ class WindscribeVPN(Proxy): """ Get an HTTPS proxy URI for a WindscribeVPN server. - Note: Windscribe's static OpenVPN credentials only work on US servers. + Note: Windscribe's static OpenVPN credentials work reliably on US, AU, and NZ servers. """ query = query.lower() + supported_regions = {"us", "au", "nz"} - if query != "us" and query not in self.server_map: + if query not in supported_regions and query not in self.server_map: raise ValueError( f"Windscribe proxy does not currently support the '{query.upper()}' region. " - "Only US servers are supported with static OpenVPN credentials. " + f"Supported regions with reliable credentials: {', '.join(sorted(supported_regions))}. " ) if query in self.server_map: @@ -66,6 +67,7 @@ class WindscribeVPN(Proxy): if not hostname: return None + hostname = hostname.split(':')[0] return f"https://{self.username}:{self.password}@{hostname}:443" def get_random_server(self, country_code: str) -> Optional[str]: