We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96108c2 commit fb24190Copy full SHA for fb24190
src/HtmlPieces.php
@@ -77,7 +77,7 @@ public function get(object $page, string $element)
77
break;
78
79
case "rating":
80
- $patterns = ["main div[data-testid=hero-title-block__aggregate-rating__score]", ".ratings_wrapper .ratingValue span[itemprop=ratingValue]"];
+ $patterns = ["main div[data-testid=hero-title-block__aggregate-rating__score] span", ".ratings_wrapper .ratingValue span[itemprop=ratingValue]"];
81
$rating = $this->findMatchInPatterns($dom, $page, $patterns);
82
83
return $this->strClean($rating);
0 commit comments