From 23873657abb6268d86155c331a5c65bd702747a4 Mon Sep 17 00:00:00 2001 From: David Silva Date: Mon, 30 May 2022 10:40:49 +0200 Subject: [PATCH] fix(get_matches): getMatch --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 8a535b7..0015195 100644 --- a/main.py +++ b/main.py @@ -234,7 +234,7 @@ def get_matches(): matchObj = {} matchObj['date'] = date - matchObj['url'] = "https://hltv.org" + match.find("a", {"class": "match a-reset"}).get("href") + matchObj['url'] = "https://hltv.org" + getMatch.find("a", {"class": "match a-reset"}).get("href") matchObj['time'] = getMatch.find("div", {"class": "matchTime"}).text if getMatch.find("div", {"class": "matchEvent"}): matchObj['event'] = getMatch.find("div", {"class": "matchEvent"}).text.encode('utf8').strip()