aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvdrfan <vdrfan@svn>2009-12-17 16:50:14 +0000
committervdrfan <vdrfan@svn>2009-12-17 16:50:14 +0000
commit9d35e65a3310381c9eda793e21b4f72e73fd9a27 (patch)
treed9afc3077c9cc2ae0c01518dc0a313dee2e3e6bf
parent1e867dcc62b344ef1e95eedb6e7fb66497e9bb63 (diff)
changed: added imdb-id lookups to rottentomatoes movie scraper
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@25783 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r--system/scrapers/video/rottentomatoes.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/system/scrapers/video/rottentomatoes.xml b/system/scrapers/video/rottentomatoes.xml
index 3c03d2259f..ebf0fcba48 100644
--- a/system/scrapers/video/rottentomatoes.xml
+++ b/system/scrapers/video/rottentomatoes.xml
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?><scraper framework="1.0" date="2009-10-17" name="Rotten Tomatoes" content="movies" thumb="rottentomatoes.png" language="en">
+<?xml version="1.0" encoding="utf-8"?>
+<scraper framework="1.0" date="2009-12-17" name="Rotten Tomatoes" content="movies" thumb="rottentomatoes.png" language="en">
<include>common/tmdb.xml</include>
<include>common/movieposterdb.xml</include>
<GetSettings dest="3">
@@ -25,6 +26,12 @@
<RegExp input="$$1" output="\1" dest="3">
<expression noclean="1">(http://$INFO[locality]\.rottentomatoes\.com/m/[A-Za-z0-9_]*)</expression>
</RegExp>
+ <RegExp input="$$1" output="&lt;url&gt;http://$INFO[locality].rottentomatoes.com/alias?type=imdbid&amp;amp;s=\2&lt;/url&gt;" dest="3+">
+ <expression>(imdb.com/)Title\?([0-9]+)</expression>
+ </RegExp>
+ <RegExp input="$$1" output="&lt;url&gt;http://$INFO[locality].rottentomatoes.com/alias?type=imdbid&amp;amp;s=\2&lt;/url&gt;" dest="3+">
+ <expression>(imdb.com/title/tt)([0-9]*)</expression>
+ </RegExp>
</NfoUrl>
<CreateSearchUrl dest="3">
<RegExp input="$$1" output="http://$INFO[locality].rottentomatoes.com/search/full_search.php?search=\1" dest="3">