mirror of
https://github.com/SocksPls/hltv-api
synced 2025-04-29 23:23:08 +00:00
fix(get_matches): getMatch
This commit is contained in:
parent
9a477b3eb9
commit
23873657ab
1 changed files with 1 additions and 1 deletions
2
main.py
2
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()
|
||||
|
|
Loading…
Add table
Reference in a new issue