Bug #258 » fixthumbscrapers.patch
XBMC4XBOX-patched/system/scrapers/video/common/imdb.xml 2013-10-21 22:23:54.078930000 -0700 | ||
---|---|---|
<scraperfunctions>
|
||
<GetIMDBThumbs 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>
|
||
<RegExp input="$$1" output="<thumb>\1_SX$INFO[imdbscale]_SY$INFO[imdbscale]_\2</thumb>" dest="6">
|
||
<expression noclean="1,2"><img.*?class="poster".*?src="([^"]*?)_S[^"]*?(.jpg)"</expression>
|
||
</RegExp>
|
||
<RegExp input="$$4" output="<thumb>\1</thumb>" dest="6">
|
||
<expression noclean="1">(.*?_SX[0-9]+_SY[0-9]+_.jpg)</expression>
|
||
<RegExp input="$$1" output="<thumb>\1_SX$INFO[imdbscale]_SY$INFO[imdbscale]_\2</thumb>" dest="6+">
|
||
<expression repeat="yes" noclean="1"><a href=.*?itemprop=.thumbnailUrl.*?src="([^"]*?)_S[^"]*?(.jpg)"</expression>
|
||
</RegExp>
|
||
<expression noclean="1"/>
|
||
</RegExp>
|
||
... | ... | |
<GetIMDBPlot dest="5">
|
||
<RegExp input="$$2" output="<details>\1</details>" dest="5">
|
||
<RegExp input="$$1" output="<plot>\1</plot>" dest="2">
|
||
<expression clear="yes"><p class="plotpar">\n([^\n]*)</expression>
|
||
<expression clear="yes"><div class="desc">.*?<p>\n([^\n]*)</expression>
|
||
</RegExp>
|
||
<expression noclean="1"/>
|
||
</RegExp>
|
XBMC4XBOX-patched/system/scrapers/video/imdb.xml 2013-10-21 22:14:28.672635000 -0700 | ||
---|---|---|
<RegExp conditional="tmdbthumbs" input="$$2" output="<url function="GetTMDBThumbsById">$$3</url>" dest="5+">
|
||
<expression />
|
||
</RegExp>
|
||
<RegExp conditional="impawards" input="$$2" output="<url cache="$$2-posters.html" function="GetIMPALink">$$3posters</url>" dest="5+">
|
||
<RegExp conditional="impawards" input="$$2" output="<url cache="$$2-impawards.html" function="GetIMPALink">$$3posters</url>" dest="5+">
|
||
<expression />
|
||
</RegExp>
|
||
<RegExp conditional="movieposterdb" input="$$1" output="<url function="GetMoviePosterDBLink">http://www.movieposterdb.com/browse/search?type=movies&amp;query=\1</url>" dest="5+">
|
||
<RegExp conditional="movieposterdb" input="$$1" output="<url function="GetMoviePosterDBLink">http://www.movieposterdb.com/search?type=movies&amp;query=\1</url>" dest="5+">
|
||
<expression >/title/tt([t0-9]*)/faq</expression>
|
||
</RegExp>
|
||
<RegExp conditional="trailer" input="$$1" output="<url function="GetIMDBTrailer">http://akas.imdb.com/video/imdb/vi\1/player</url>" dest="5+">
|
||
... | ... | |
</RegExp>
|
||
<expression />
|
||
</RegExp>
|
||
<RegExp input="$$2" output="<url cache="$$2-posters.html" function="GetIMDBThumbs">$$3posters</url>" dest="5+">
|
||
<RegExp input="$$2" output="<url cache="$$2-posters.html" function="GetIMDBThumbs">$$3mediaindex?refine=poster&ref_=ttmi_ref_pos</url>" dest="5+">
|
||
<expression />
|
||
</RegExp>
|
||
<RegExp conditional="fanart" input="$$2" output="<url function="GetTMDBFanartById">$$3</url>" dest="5+">
|