diff --git a/get_cod_stats.py b/get_cod_stats.py index 02df4f2..8287172 100644 --- a/get_cod_stats.py +++ b/get_cod_stats.py @@ -28,7 +28,8 @@ STANDARD_STATS_URL = "https://api.tracker.gg/api/v2/modern-warfare/standard/prof def get_json_data(url): - r = requests.get(url) + r = requests.get(url, headers={"User-Agent": "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:82.0) " + "Gecko/20100101 Firefox/82.0"}) return json.loads(r.text)