Hello all,
Not sure if it's really fixed already as olympia wrote - for me it wasn't, so I decided to patch it myself.
This should fix the problem:
File: .xbmc/addons/metadata.imdb.com/imdb.xml
Code:
diff imdb_orig.xml imdb.xml
2c2
< <scraper framework="1.1" date="2012-02-19">
---
> <scraper framework="1.1" date="2012-12-01">
12c12
< <RegExp input="$$1" output="<url>http://akas.imdb.com/find?s=tt;q=\1$$4</url>" dest="3">
---
> <RegExp input="$$1" output="<url>http://akas.imdb.com/find?s=tt&q=\1$$4</url>" dest="3">
28c28
< <expression noclean="1">(><a href="/title.*)</expression>
---
> <expression noclean="1">(>\s*<a href="/title.*)</expression>
30,31c30,31
< <RegExp input="$$4" output="<entity><title>\2</title><year>\3</year><url cache="\1-main.html">http://akas.imdb.com/title/\1/</url><id>\1</id></entity>" dest="5+">
< <expression repeat="yes" noclean="1,2">><a href="/title/([t0-9]*)/[^>]*>(?:&#x22;)?([^<]*?)(?:&#x22;)?</a> *\([^\(]*?([0-9]{4})</expression>
---
> <RegExp input="$$4" output="<entity><title>\2 \4</title><year>\3</year><url cache="\1-main.html">http://akas.imdb.com/title/\1/</url><id>\1</id></entity>" dest="5+">
> <expression repeat="yes" noclean="1,2">>\s*<a href="/title/([t0-9]*)/[^>]*>(?:&#x22;)?([^<]*?)(?:&#x22;)?</a>\s*(?:\([IV]*\)\s*)?\([^\(]*?([0-9]{4})\)\s*([^<]*)</expression>
I used the base file from:
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scrapers
Just in case this is the part from my working imdb.xml:
Code:
<CreateSearchUrl dest="3" SearchStringEncoding="iso-8859-1">
<RegExp input="$$1" output="<url>http://akas.imdb.com/find?s=tt&q=\1$$4</url>" dest="3">
<RegExp input="$$2" output="%20(\1)" dest="4">
<expression clear="yes">(.+)</expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</CreateSearchUrl>
<GetSearchResults dest="8">
<RegExp input="$$5" output="<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?><results>\1</results>" dest="8">
<RegExp input="$$1" output="\1" dest="7">
<expression clear="yes">/title/([t0-9]*)/(combined|faq|releaseinfo|vote)</expression>
</RegExp>
<RegExp input="$$1" output="<entity><title>\1</title><year>\2</year><url cache="$$7-main.html">http://akas.imdb.com/title/$$7/</url><id>$$7</id></entity>" dest="5">
<expression clear="yes" noclean="1"><meta name="title" content="(?:&#x22;)?([^"]*?)(?:&#x22;)? \([^\(]*?([0-9]{4})\)</expression>
</RegExp>
<RegExp input="$$1" output="\1" dest="4">
<expression noclean="1">(>\s*<a href="/title.*)</expression>
</RegExp>
<RegExp input="$$4" output="<entity><title>\2 \4</title><year>\3</year><url cache="\1-main.html">http://akas.imdb.com/title/\1/</url><id>\1</id></entity>" dest="5+">
<expression repeat="yes" noclean="1,2">>\s*<a href="/title/([t0-9]*)/[^>]*>(?:&#x22;)?([^<]*?)(?:&#x22;)?</a>\s*(?:\([IV]*\)\s*)?\([^\(]*?([0-9]{4})\)\s*([^<]*)</expression>
</RegExp>
<expression clear="yes" noclean="1"/>
</RegExp>
</GetSearchResults>
IMDB did change the Query-URL and also added a whitespace in the Results.
A minor addition I made is that the scraper now also lists the type of media (TV Episode, Video Game, etc) in the result list.