From 94b9ac51692de122d8b34134567c4b60a44dbdcb Mon Sep 17 00:00:00 2001 From: xhdix Date: Fri, 2 Sep 2022 21:31:40 +0300 Subject: [PATCH] chore: change user-agant in request --- utils/geolocate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/geolocate.py b/utils/geolocate.py index c795d7a..1110b2f 100644 --- a/utils/geolocate.py +++ b/utils/geolocate.py @@ -16,7 +16,7 @@ def get_meta_json(): meta_url = 'https://speed.cloudflare.com/meta' # TODO(xhdix): change versioning httprequest = Request( - meta_url, headers={'user-agent': 'TraceVis/0.7.0 (WikiCensorship)'}) + meta_url, headers={'user-agent': 'TraceVis/0.10.5 (WikiCensorship)'}) try: with urlopen(httprequest, timeout=9) as response: if response.status == 200: