Skip to content

Commit 67c5282

Browse files
authored
Merge pull request #23 from hmerritt/fix/rating-votes
Fix / pattern for rating votes
2 parents a732b5e + b7b5a4f commit 67c5282

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HtmlPieces.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function get(object $page, string $element, string $url='')
118118
break;
119119

120120
case "rating_votes":
121-
$patterns = [".sc-bde20123-3", "[class*=TotalRatingAmount]", ".ratings_wrapper span[itemprop=ratingCount]"];
121+
$patterns = [".sc-eb51e184-3", ".sc-bde20123-3", "[class*=TotalRatingAmount]", ".ratings_wrapper span[itemprop=ratingCount]"];
122122
$rating_votes = $this->findMatchInPatterns($dom, $page, $patterns);
123123
$rating_votes = $this->unwrapFormattedNumber($rating_votes);
124124

0 commit comments

Comments
 (0)