diff --git a/GoogleScraper/http_mode.py b/GoogleScraper/http_mode.py index fab1ec3d..533a3f68 100644 --- a/GoogleScraper/http_mode.py +++ b/GoogleScraper/http_mode.py @@ -196,7 +196,7 @@ def proxy_check(self, proxy): 'the proxy check.' online = False - status = 'Proxy check failed: {host}:{port} is not used while requesting'.format(**self.proxy.__dict__) + status = 'Proxy check failed: {host}:{port} is not used while requesting'.format(host=self.proxy.host, port=self.proxy.port) ipinfo = {} try: