|
|
|
@ -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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|