Skip to content

Commit

Permalink
LIVE/Finished fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
redzumi committed Nov 17, 2016
1 parent 4b9047d commit 7ae5632
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ class HLTV extends ParsingTools {
match.team2 = $team2.text().trim()
match.team1Id = this._getTeamId($team1)
match.team2Id = this._getTeamId($team2)
match.live = (match.matchTime === 'LIVE')
match.finished = (match.matchTime === 'Finished')
match.live = (match.time === 'LIVE')
match.finished = (match.time === 'Finished')
match.format = $($liveInfo[0]).text().trim()
match.label = $elem.find('div[style="text-align: center;width: 80%;float: left;"]').text()
match.id = $elem.find('.matchActionCell > a').attr('href').replace('/match/', '')
Expand Down

0 comments on commit 7ae5632

Please sign in to comment.