Nice scraper, i had to modify three things for myself, though.
1. The rating didn't work properly, only the first digit was shown.
2. The "director" field also showed all of the assistants.
3. The "original title" was something like
"<Title>" - USA
instead of just
<Title>
If anyone is interested in my quick&dirty changes, feel free to replace your
XBMC\addons\metadata.imdb.de\imdb_de.xml using these code snippets:
Code:
<!-- Bewertung/Stimmen -->
<RegExp input="$$1" output="<rating>\1.\2</rating><votes>\3</votes>" dest="4+">
<expression trim="1,2"><b>([0-9]+),([0-9]+)/10</b>[^<]*<a href="ratings" class="tn15more">([.0-9]+) Stimmen</a></expression>
</RegExp>
(changed on 18.03.!)
Code:
<!--Infos zu den Filmregisseuren abfragen-->
<RegExp input="$$8" output="<details>\1</details>" dest="6">
<RegExp conditional="!fullcredits" input="$$1" output="\1" dest="5">
<expression clear="yes" noclean="1"><h5>Regisseur:</h5>(.*?)</div></expression>
</RegExp>
<RegExp conditional="fullcredits" input="$$1" output="\1" dest="5">
<expression repeat="yes" clear="yes" noclean="1">Regie</a>(.*?)</table></expression>
</RegExp>
<RegExp input="$$5" output="<director>\1</director>" dest="8+">
<expression repeat="yes" clear="yes"><a href="/name/[^>]*>([^<]*)<</expression>
</RegExp>
<expression clear="yes" noclean="1" />
</RegExp>
Code:
<!-- Originaltitel-->
<RegExp input="$$5" output="<originaltitle>\1</originaltitle>" dest="4+">
<!-- weitere/alternative Filmnamen zwischenspeichern -->
<RegExp input="$$1" output="\1" dest="5">
<expression clear="yes" trim="1" noclean="1"><h5>Auch bekannt als:</h5><div class="info-content">([^\n]*)</expression>
</RegExp>
<expression trim="1">"([^>\n]*)(?:"[^"\n]*\(Originaltitel\))</expression>
</RegExp>