diff options
author | Martijn Kaijser <mcm.kaijser@gmail.com> | 2012-12-02 00:55:35 +0100 |
---|---|---|
committer | Martijn Kaijser <mcm.kaijser@gmail.com> | 2012-12-02 00:55:35 +0100 |
commit | d073e255fee4b393e3157e3d5c3d8eeeb461394f (patch) | |
tree | a0534e79597edd4d7330f567d8a7c8f9cf1568f4 /addons/metadata.common.imdb.com | |
parent | 928b58cf5019a87c5890019c2153a8acf811611a (diff) |
[addons] sync scrapers with repo
Diffstat (limited to 'addons/metadata.common.imdb.com')
-rw-r--r-- | addons/metadata.common.imdb.com/addon.xml | 2 | ||||
-rw-r--r-- | addons/metadata.common.imdb.com/changelog.txt | 2 | ||||
-rw-r--r-- | addons/metadata.common.imdb.com/imdb.xml | 56 |
3 files changed, 59 insertions, 1 deletions
diff --git a/addons/metadata.common.imdb.com/addon.xml b/addons/metadata.common.imdb.com/addon.xml index 703065cee7..af2ae90014 100644 --- a/addons/metadata.common.imdb.com/addon.xml +++ b/addons/metadata.common.imdb.com/addon.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <addon id="metadata.common.imdb.com" name="IMDB common scraper functions" - version="2.5.0" + version="2.6.0" provider-name="Team XBMC"> <requires> <import addon="xbmc.metadata" version="1.0"/> diff --git a/addons/metadata.common.imdb.com/changelog.txt b/addons/metadata.common.imdb.com/changelog.txt index e539161108..ab77a31962 100644 --- a/addons/metadata.common.imdb.com/changelog.txt +++ b/addons/metadata.common.imdb.com/changelog.txt @@ -1,3 +1,5 @@ +[B]2.6.0[/B] +- updated: outfactored outline/studio/country/top250 to common library [B]2.5.0[/B] - updated: outfactored tagline scraping to common library diff --git a/addons/metadata.common.imdb.com/imdb.xml b/addons/metadata.common.imdb.com/imdb.xml index 930286103b..4fa1e2383f 100644 --- a/addons/metadata.common.imdb.com/imdb.xml +++ b/addons/metadata.common.imdb.com/imdb.xml @@ -27,6 +27,48 @@ </RegExp> </ParseIMDBRating> + <GetIMDBTOP250ById dest="5"> + <RegExp input="$$1" output="<details><url cache="$$1-main.html" function="ParseIMDBTOP250">http://akas.imdb.com/title/$$1/</url></details>" dest="5"> + <expression noclean="1" /> + </RegExp> + </GetIMDBTOP250ById> + <ParseIMDBTOP250 dest="5"> + <RegExp input="$$2" output="<details>\1</details>" dest="5"> + <RegExp input="$$1" output="<top250>\1</top250>" dest="2"> + <expression>Top\s250\s#([0-9]*)</</expression> + </RegExp> + <expression noclean="1" /> + </RegExp> + </ParseIMDBTOP250> + + <GetIMDBStudioById dest="5"> + <RegExp input="$$1" output="<details><url cache="$$1-main.html" function="ParseIMDBStudio">http://akas.imdb.com/title/$$1/</url></details>" dest="5"> + <expression noclean="1" /> + </RegExp> + </GetIMDBStudioById> + <ParseIMDBStudio dest="5"> + <RegExp input="$$2" output="<details>\1</details>" dest="5"> + <RegExp input="$$1" output="<studio>\1</studio>" dest="2"> + <expression>"/company/[^>]+>([^<]+)</a></expression> + </RegExp> + <expression noclean="1" /> + </RegExp> + </ParseIMDBStudio> + + <GetIMDBCountryById dest="5"> + <RegExp input="$$1" output="<details><url cache="$$1-main.html" function="ParseIMDBCountry">http://akas.imdb.com/title/$$1/</url></details>" dest="5"> + <expression noclean="1" /> + </RegExp> + </GetIMDBCountryById> + <ParseIMDBCountry dest="5"> + <RegExp input="$$2" output="<details>\1</details>" dest="5"> + <RegExp input="$$1" output="<country>\1</country>" dest="2"> + <expression repeat="yes">"/country/[^>]+>([^<]+)</a></expression> + </RegExp> + <expression noclean="1" /> + </RegExp> + </ParseIMDBCountry> + <GetMetaCriticRatingById dest="5"> <RegExp input="$$1" output="<details><url cache="$$1-main.html" function="ParseMetaCriticRating">http://akas.imdb.com/title/$$1/</url></details>" dest="5"> <expression noclean="1" /> @@ -69,6 +111,20 @@ </RegExp> </ParseIMDBTagline> + <GetIMDBOutlineById dest="5"> + <RegExp input="$$1" output="<details><url cache="$$1-main.html" function="ParseIMDBOutline">http://akas.imdb.com/title/$$1/</url></details>" dest="5"> + <expression noclean="1" /> + </RegExp> + </GetIMDBOutlineById> + <ParseIMDBOutline dest="5"> + <RegExp input="$$2" output="<details>\1</details>" dest="5"> + <RegExp input="$$1" output="<outline>\1</outline>" dest="2"> + <expression fixchars="1" trim="1"><p>\n?<p itemprop="description">([^<]+)</p></expression> + </RegExp> + <expression noclean="1" /> + </RegExp> + </ParseIMDBOutline> + <GetIMDBCastById dest="5"> <RegExp input="$$1" output="<details><url cache="$$1-main.html" function="ParseIMDBCast">http://akas.imdb.com/title/$$1/</url></details>" dest="5"> <expression noclean="1" /> |