diff options
author | nadasb <nadasb@svn> | 2010-11-19 11:43:39 +0000 |
---|---|---|
committer | nadasb <nadasb@svn> | 2010-11-19 11:43:39 +0000 |
commit | a2659c887b2be9284ed73fad43a418e513a7351f (patch) | |
tree | d239dc574cf81215eea29b83b1e52e56870b5bd0 /addons/metadata.common.imdb.com | |
parent | 0fedfad505fb22e7ca6507d2c074b297965848f5 (diff) |
[metadata.common.imdb.com] sync with git
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@35336 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
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 | 6 | ||||
-rw-r--r-- | addons/metadata.common.imdb.com/imdb.xml | 36 |
3 files changed, 25 insertions, 19 deletions
diff --git a/addons/metadata.common.imdb.com/addon.xml b/addons/metadata.common.imdb.com/addon.xml index 4b08fd17a4..9c50745ef1 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.0.5" + version="2.0.7" 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 cd4bd77c6d..db5d118668 100644 --- a/addons/metadata.common.imdb.com/changelog.txt +++ b/addons/metadata.common.imdb.com/changelog.txt @@ -1,3 +1,9 @@ +[B]2.0.7[/B] +- changed: fix actors due to IMDb changes + +[B]2.0.6[/B] +- changed: re-added fixchars + [B]2.0.5[/B] - changed: move scraping of IMDb rating out to IMDb scraper library diff --git a/addons/metadata.common.imdb.com/imdb.xml b/addons/metadata.common.imdb.com/imdb.xml index 24a3a4f422..b112aa62af 100644 --- a/addons/metadata.common.imdb.com/imdb.xml +++ b/addons/metadata.common.imdb.com/imdb.xml @@ -62,7 +62,7 @@ <ParseIMDBRating dest="5"> <RegExp input="$$2" output="<details>\1</details>" dest="5"> <RegExp input="$$1" output="<rating>\1</rating><votes>\2</votes>" dest="2"> - <expression><span class="rating-rating">([0-9.]+).*?>([0-9,]+) votes</a></expression> + <expression><span class="rating-rating">([0-9.]+).*?>([0-9,]+) votes</a></expression> </RegExp> <expression noclean="1" /> </RegExp> @@ -78,10 +78,10 @@ <ParseIMDBCast dest="5"> <RegExp input="$$2" output="<details>\1</details>" dest="5"> <RegExp input="$$1" output="\1" dest="6"> - <expression noclean="1"><table class="cast_list">(.*?)</table></expression> + <expression noclean="1"><table class="cast_list">(.*?)</table></expression> </RegExp> - <RegExp input="$$6" output="<actor><thumb>\1_SX512_SY512_\2</thumb><name>\3</name><role>\4</role></actor>" dest="7"> - <expression repeat="yes" clear="yes" trim="3,4" noclean="1,2"><img\n[^\n]*\n[^\n]*\n\s+src="(?:([^"]*\.)[^"]*(\.jpg))?[^>]*[^"]*"[^"]*">[^>]*>([^<]*).*?<td class="character">[^>]*>[^>]*>([^<]*)?</expression> + <RegExp input="$$6" output="<actor><thumb>\2_SX512_SY512_\3</thumb><name>\1</name><role>\4</role></actor>" dest="7"> + <expression repeat="yes" clear="yes" trim="3,4" noclean="1,2"><img \n[^a]*alt="([^"]*)"[^"]*"[^"]*"[^s]*src="(?:([^"]*\.)[^"]*(\.jpg))?[^>]*.*?ter">[^>]*>[^>]*>([^<]*)?</expression> </RegExp> <RegExp input="$$7" output="<actor><thumb>\1</thumb>\2</actor>" dest="2+"> <expression repeat="yes" clear="yes" noclean="1,2,3"><actor><thumb>(?:(http.*?)|_SX[0-9]+_SY[0-9]+_)</thumb>(.*?)</actor></expression> @@ -92,10 +92,10 @@ <ParseIMDBScaledCast dest="5"> <RegExp input="$$2" output="<details>\1</details>" dest="5"> <RegExp input="$$1" output="\1" dest="6"> - <expression noclean="1"><table class="cast_list">(.*?)</table></expression> + <expression noclean="1"><table class="cast_list">(.*?)</table></expression> </RegExp> - <RegExp input="$$6" output="<actor><thumb>\1_SX$INFO[imdbscale]_SY$INFO[imdbscale]_\2</thumb><name>\3</name><role>\4</role></actor>" dest="7"> - <expression repeat="yes" clear="yes" trim="3,4" noclean="1,2"><img\n[^\n]*\n[^\n]*\n\s+src="(?:([^"]*\.)[^"]*(\.jpg))?[^>]*[^"]*"[^"]*">[^>]*>([^<]*).*?<td class="character">[^>]*>[^>]*>([^<]*)?</expression> + <RegExp input="$$6" output="<actor><thumb>\2_SX$INFO[imdbscale]_SY$INFO[imdbscale]_\3</thumb><name>\1</name><role>\4</role></actor>" dest="7"> + <expression repeat="yes" clear="yes" trim="3,4" noclean="1,2"><img \n[^a]*alt="([^"]*)"[^"]*"[^"]*"[^s]*src="(?:([^"]*\.)[^"]*(\.jpg))?[^>]*.*?ter">[^>]*>[^>]*>([^<]*)?</expression> </RegExp> <RegExp input="$$7" output="<actor><thumb>\1</thumb>\2</actor>" dest="2+"> <expression repeat="yes" clear="yes" noclean="1,2,3"><actor><thumb>(?:(http.*?)|_SX[0-9]+_SY[0-9]+_)</thumb>(.*?)</actor></expression> @@ -109,7 +109,7 @@ <expression clear="yes" noclean="1">Director[s]?.*?</h4>(.*?)<div class</expression> </RegExp> <RegExp input="$$6" output="<director>\1</director>" dest="2+"> - <expression repeat="yes" clear="yes"><a href="/name[^>]*>([^<]*)<</expression> + <expression repeat="yes" fixchars="1" clear="yes"><a href="/name[^>]*>([^<]*)<</expression> </RegExp> <expression noclean="1" /> </RegExp> @@ -120,7 +120,7 @@ <expression noclean="1">Writer[s]?.*?</h4>(.*?)<div class</expression> </RegExp> <RegExp input="$$6" output="<credits>\1</credits>" dest="2+"> - <expression repeat="yes"><a href="/name[^>]*>([^<]*)<</expression> + <expression repeat="yes" fixchars="1"><a href="/name[^>]*>([^<]*)<</expression> </RegExp> <expression noclean="1" /> </RegExp> @@ -128,10 +128,10 @@ <ParseIMDBFullCast dest="5"> <RegExp input="$$2" output="<details>\1</details>" dest="5"> <RegExp input="$$1" output="\1" dest="6"> - <expression noclean="1"><table class="cast">(.*?)</table></expression> + <expression noclean="1"><table class="cast">(.*?)</table></expression> </RegExp> <RegExp input="$$6" output="<actor><thumb>\1_SX512_SY512_\2</thumb><name>\3</name><role>\5</role></actor>" dest="7"> - <expression repeat="yes" clear="yes" trim="3,5" noclean="1,2"><img src="(?:([^"]*\.)[^"]*(\.jpg))?[^>]*[^"]*"nm"><a href="[^"]*[^>]*>([^<]*)<[^"]*"ddd">([^<]<)?[^"]*"char">(.*?)</td></expression> + <expression repeat="yes" clear="yes" fixchars="3,5" trim="3,5" noclean="1,2"><img src="(?:([^"]*\.)[^"]*(\.jpg))?[^>]*[^"]*"nm"><a href="[^"]*[^>]*>([^<]*)<[^"]*"ddd">([^<]<)?[^"]*"char">(.*?)</td></expression> </RegExp> <RegExp input="$$7" output="<actor><thumb>\1</thumb>\2</actor>" dest="2+"> <expression repeat="yes" clear="yes" noclean="1,2,3"><actor><thumb>(?:(http.*?)|_SX[0-9]+_SY[0-9]+_)</thumb>(.*?)</actor></expression> @@ -142,10 +142,10 @@ <ParseIMDBScaledFullCast dest="5"> <RegExp input="$$2" output="<details>\1</details>" dest="5"> <RegExp input="$$1" output="\1" dest="6"> - <expression noclean="1"><table class="cast">(.*?)</table></expression> + <expression noclean="1"><table class="cast">(.*?)</table></expression> </RegExp> <RegExp input="$$6" output="<actor><thumb>\1_SX$INFO[imdbscale]_SY$INFO[imdbscale]_\2</thumb><name>\3</name><role>\5</role></actor>" dest="7"> - <expression repeat="yes" clear="yes" trim="3,5" noclean="1,2"><img src="(?:([^"]*\.)[^"]*(\.jpg))?[^>]*[^"]*"nm"><a href="[^"]*[^>]*>([^<]*)<[^"]*"ddd">([^<]<)?[^"]*"char">(.*?)</td></expression> + <expression repeat="yes" clear="yes" fixchars="3,5" trim="3,5" noclean="1,2"><img src="(?:([^"]*\.)[^"]*(\.jpg))?[^>]*[^"]*"nm"><a href="[^"]*[^>]*>([^<]*)<[^"]*"ddd">([^<]<)?[^"]*"char">(.*?)</td></expression> </RegExp> <RegExp input="$$7" output="<actor><thumb>\1</thumb>\2</actor>" dest="2+"> <expression repeat="yes" clear="yes" noclean="1,2,3"><actor><thumb>(?:(http.*?)|_SX[0-9]+_SY[0-9]+_)</thumb>(.*?)</actor></expression> @@ -159,7 +159,7 @@ <expression clear="yes" noclean="1">Director[s]?:</h5>[^>]*>(.*?)</div</expression> </RegExp> <RegExp input="$$6" output="<director>\1</director>" dest="2+"> - <expression repeat="yes" clear="yes"><a href="/name/[^>]*>([^<]*)<</expression> + <expression repeat="yes" fixchars="1" clear="yes"><a href="/name/[^>]*>([^<]*)<</expression> </RegExp> <expression noclean="1" /> </RegExp> @@ -170,7 +170,7 @@ <expression noclean="1">Writing credits(.*?)name="</expression> </RegExp> <RegExp input="$$6" output="<credits>\1</credits>" dest="2+"> - <expression repeat="yes"><a href="/name/[^>]*>([^<]*)<</expression> + <expression repeat="yes" fixchars="1"><a href="/name/[^>]*>([^<]*)<</expression> </RegExp> <expression noclean="1" /> </RegExp> @@ -178,7 +178,7 @@ <ParseIMDBThumbs dest="5"> <RegExp input="$$6" output="<details>\1</details>" dest="5"> <RegExp input="$$1" output="\1_SX$INFO[imdbscale]_SY$INFO[imdbscale]_\2" dest="4"> - <expression noclean="1,2"><a name="poster".*?src="(.*?)_S.*?(.jpg)".*?</a></expression> + <expression noclean="1,2"><a name="poster".*?src="(.*?)_S.*?(.jpg)".*?</a></expression> </RegExp> <RegExp input="$$4" output="<thumb>\1</thumb>" dest="6"> <expression noclean="1">(.*?_SX[0-9]+_SY[0-9]+_.jpg)</expression> @@ -194,10 +194,10 @@ <ParseIMDBTrailer dest="5"> <RegExp input="$$2" output="<details><trailer urlencoded="yes">\1</trailer></details>" dest="5"> <RegExp input="$$1" output="\1" dest="2"> - <expression noclean="1">"file"[^"]*"([^"]*)</expression> + <expression noclean="1">"file"[^"]*"([^"]*)</expression> </RegExp> <RegExp input="$$1" output="$$2/\1" dest="2"> - <expression noclean="1">"id"[^"]*"([^"]*)</expression> + <expression noclean="1">"id"[^"]*"([^"]*)</expression> </RegExp> <expression noclean="1" /> </RegExp> |