From 165723ef45ea9e9395c27a0a27b02385bdeb83eb Mon Sep 17 00:00:00 2001 From: Martijn Kaijser Date: Sun, 10 Dec 2017 09:41:11 +0100 Subject: [addons] sync scrapers with repo --- addons/metadata.common.imdb.com/addon.xml | 2 +- addons/metadata.common.imdb.com/changelog.txt | 6 +++ addons/metadata.common.imdb.com/imdb.xml | 77 ++++++++++++--------------- 3 files changed, 42 insertions(+), 43 deletions(-) (limited to 'addons/metadata.common.imdb.com') diff --git a/addons/metadata.common.imdb.com/addon.xml b/addons/metadata.common.imdb.com/addon.xml index c12395421b..b5763c2f0c 100644 --- a/addons/metadata.common.imdb.com/addon.xml +++ b/addons/metadata.common.imdb.com/addon.xml @@ -1,7 +1,7 @@ diff --git a/addons/metadata.common.imdb.com/changelog.txt b/addons/metadata.common.imdb.com/changelog.txt index cca5af3b74..b4543c7c86 100644 --- a/addons/metadata.common.imdb.com/changelog.txt +++ b/addons/metadata.common.imdb.com/changelog.txt @@ -1,3 +1,9 @@ +[B]2.9.3[/B] +- fixed: always get USA rating regardless of the country set + +[B]2.9.2[/B] +- changed: simplify ratings code + [B]2.9.1[/B] - changed: improved USA rating detection diff --git a/addons/metadata.common.imdb.com/imdb.xml b/addons/metadata.common.imdb.com/imdb.xml index 16bde91989..b5a5b35efb 100644 --- a/addons/metadata.common.imdb.com/imdb.xml +++ b/addons/metadata.common.imdb.com/imdb.xml @@ -28,34 +28,23 @@ - - - + + + ^(tt\d+) + + + \|default$ - + <span\sitemprop="ratingValue">([0-9.]+).*?ratingCount">([0-9,]+)< - - - - - - - - - <span\sitemprop="ratingValue">([0-9.]+).*?ratingCount">([0-9,]+)< - - - - - @@ -102,47 +91,51 @@ - + - - <div\sclass="metacriticScore\sscore_[^\s]+\stitleReviewBarSubItem">.*?<span>(\d*)(\d) + + (<div class="metascore_block".*) + + + <span itemprop="ratingValue">(\d+)</span> + + + <span itemprop="ratingCount">(\d+)</span> - - - + + + (tt\d+) + + + \|default$ - - <div\sclass="metacriticScore\sscore_[^\s]+\stitleReviewBarSubItem">.*?<span>(\d*)(\d) + + + (<div class="metascore_block".*) + + + <span itemprop="ratingValue">(\d+)</span> + + + <span itemprop="ratingCount">(\d+)</span> + + - - - - - - - - - <div\sclass="metacriticScore\sscore_[^\s]+\stitleReviewBarSubItem">.*?<span>(\d*)(\d) - - - - - @@ -348,8 +341,8 @@ - - + + USA -- cgit v1.2.3