From a3c41744e67bc2257520d91b8a4e102428a611a2 Mon Sep 17 00:00:00 2001 From: Bert de Bruijn Date: Tue, 20 Aug 2024 17:54:41 +0200 Subject: [PATCH] Change RANKING_URL to the current ranking Without this change, the ranking that is pulled is always the one from March 5 2024. With this change, it will use the .../ranking/teams URL that automatically resolves into the current ranking. --- hltv_data/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hltv_data/client.py b/hltv_data/client.py index 94e95fd..fe8f779 100644 --- a/hltv_data/client.py +++ b/hltv_data/client.py @@ -9,7 +9,7 @@ BASE_URL = "https://www.hltv.org" MATCHES_URL = f"{BASE_URL}/matches" RESULTS_URL = f"{BASE_URL}/results" -RANKING_URL = f"{BASE_URL}/ranking/teams/2024/march/5" +RANKING_URL = f"{BASE_URL}/ranking/teams" class HLTVClient: