Skip to content

Commit

Permalink
v1.0.4
Browse files Browse the repository at this point in the history
fixes in parse odds
  • Loading branch information
Konstantin Malinsky committed Jan 15, 2020
1 parent 30e961d commit 901a93c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HltvApi/Parsers/MatchDetailsParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function parse() : array
{
foreach (static::ODDS_PROVIDERS as $name) {

$selector = ".betting-listing .{$name} .odds-cell";
$selector = ".{$name} .odds-cell";
$odds1 = $this->data->find($selector, 0);
$odds2 = $this->data->find($selector, 2);

Expand Down

0 comments on commit 901a93c

Please sign in to comment.