> could you tell me whether there is a simple way to replace the current fetching with a plain simple curl via subprocess e.g. as described above?
Here's a quick and dirty patch to do what you want.
```diff
diff --git a/googler b/googler
index e8246e1..b06fef4 100755
--- a/googler
+++ b/googler
@@ -2070,6 +2070,12 @@ class GoogleConnection(object):
Response payload, gunzipped (if applicable) and decoded (in UTF-8).
"""
+ import subprocess
+ # Add or modify curl options as you need.
+ return subprocess.check_output([
+ 'curl', '-sS', '-A', USER_AGENT, urllib.parse.urljoin('https://' + self._host, url)
+ ]).decode('utf-8')
+
try:
self._raw_get(url)
except (http.client.HTTPException, OSError) as e:
```
Confirmed to work, btw.