Skip to content

Commit

Permalink
chore: change user-agant in request
Browse files Browse the repository at this point in the history
  • Loading branch information
xhdix committed Sep 2, 2022
1 parent 73363e2 commit 94b9ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/geolocate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 94b9ac5

Please sign in to comment.