Bug #175 » imdb.patch
imdb.xml (working copy) | ||
---|---|---|
<?xml version="1.0" encoding="UTF-8"?>
|
||
<scraper framework="1.12x" date="2010-10-05" name="IMDb.com" content="movies" thumb="imdb.png" language="en">
|
||
<?xml version="1.0" encoding="UTF-8"?>
|
||
<scraper framework="1.12x" date="2010-10-05" name="IMDb.com" content="movies" thumb="imdb.png" language="en">
|
||
<include>common/imdb.xml</include>
|
||
<include>common/tmdb.xml</include>
|
||
<include>common/movieposterdb.xml</include>
|
||
... | ... | |
</RegExp>
|
||
</GetSettings>
|
||
<NfoUrl dest="3">
|
||
<RegExp input="$$1" output="<url>http://www.\1/title/tt\2/</url><id>tt\2</id>" dest="3">
|
||
<expression clear="yes" noclean="1">(imdb.com)/Title\?([0-9]*)</expression>
|
||
<RegExp input="$$1" output="<url>http://www.\1/title/tt\2/</url><id>tt\2</id>" dest="3">
|
||
<expression clear="yes" noclean="1">(imdb.com)/Title\?([0-9]*)</expression>
|
||
</RegExp>
|
||
<RegExp input="$$1" output="<url>http://www.\1\2/</url><id>tt\2</id>" dest="3+">
|
||
<RegExp input="$$1" output="<url>http://www.\1\2/</url><id>tt\2</id>" dest="3+">
|
||
<expression noclean="1">(imdb.com/title/tt)([0-9]*)</expression>
|
||
</RegExp>
|
||
</NfoUrl>
|
||
<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">
|
||
<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>
|
||
... | ... | |
<RegExp input="$$1" output="\1" dest="7">
|
||
<expression clear="yes" noclean="1">og:url" content=".+?/title/([t0-9]*)/</expression>
|
||
</RegExp>
|
||
<RegExp input="$$1" output="<entity><title>\1</title><year>\2</year><url>http://akas.imdb.com/title/$$7/</url><id>$$7</id></entity>" dest="5">
|
||
<RegExp input="$$1" output="<entity><title>\1</title><year>\2</year><url>http://akas.imdb.com/title/$$7/</url><id>$$7</id></entity>" dest="5">
|
||
<expression clear="yes" noclean="1"><meta name="title" content="([^"]*) \([^\)0-9]*([0-9]+)\)</expression>
|
||
</RegExp>
|
||
<RegExp input="$$1" output="\1" dest="4">
|
||
<expression noclean="1">(><a href="/title.*)</expression>
|
||
</RegExp>
|
||
<RegExp input="$$4" output="<entity><title>\2</title><year>\3</year><url>http://akas.imdb.com/title/\1/</url><id>\1</id></entity>" dest="5+">
|
||
<RegExp input="$$4" output="<entity><title>\2</title><year>\3</year><url>http://akas.imdb.com/title/\1/</url><id>\1</id></entity>" dest="5+">
|
||
<expression repeat="yes" noclean="1,2">><a href="/title/([t0-9]*)/[^>]*>([^<]*)</a> *\(([0-9]*)</expression>
|
||
</RegExp>
|
||
<expression clear="yes" noclean="1"/>
|
||
... | ... | |
<expression fixchars="1" trim="1" noclean="1"><h1 class="header" itemprop="name">([^<]*)</expression>
|
||
</RegExp>
|
||
<RegExp input="$$1" output="<year>\1</year>" dest="5+">
|
||
<expression fixchars="1">a href="/year/([0-9]*)</expression>
|
||
<expression fixchars="1">a href="/year/([0-9]*)</expression>
|
||
</RegExp>
|
||
<RegExp input="$$1" output="<top250>\1</top250>" dest="5+">
|
||
<expression fixchars="1">Top 250 #([0-9]*)</a></expression>
|
||
</RegExp>
|
||
<RegExp input="$$1" output="<mpaa>\1</mpaa>" dest="5+">
|
||
<expression fixchars="1">MPAA</a>\)</h4>\n([^<]*)</expression>
|
||
<expression>MPAA</a>\)</h4>\n?<span itemprop="contentRating">([^<]*)</expression>
|
||
</RegExp>
|
||
<RegExp input="$$1" output="<certification>\1 \3</certification>" dest="5+">
|
||
<expression fixchars="1" repeat="yes"><a href="/search/title\?certificates=[^"]*">([^<]*)</a>[^<]*(<i>([^<]*)</i>)?</expression>
|
||
<expression fixchars="1" repeat="yes"><a href="/search/title\?certificates=[^"]*">([^<]*)</a>[^<]*(<i>([^<]*)</i>)?</expression>
|
||
</RegExp>
|
||
<RegExp input="$$1" output="<tagline>\1</tagline>" dest="5+">
|
||
<expression fixchars="1">>Taglines:</h4>([^<]*)</expression>
|
||
<expression><h4[^>]*?>Taglines:</h4>\n?([^<]*)</expression>
|
||
</RegExp>
|
||
<RegExp input="$$1" output="<runtime>\1</runtime>" dest="5+">
|
||
<expression noclean="1">>Runtime:</h4>[^0-9]*([,0-9]+) min</expression>
|
||
<expression trim="1"><h4[^>]*?>Runtime:</h4>[^0-9]*([0-9]+)</expression>
|
||
</RegExp>
|
||
<RegExp input="$$1" output="<rating>\1</rating>" dest="5+">
|
||
<expression fixchars="1">"star-bar-user-rate"><b>([0-9.]+).*?>.*?title="([0-9,]+)\s</expression>
|
||
<RegExp input="$$1" output="<rating>\1</rating><votes>\2</votes>" dest="5+">
|
||
<expression fixchars="1"><span itemprop="ratingValue">([0-9.]+).*?>.*?title="([0-9,]+)\s</expression>
|
||
</RegExp>
|
||
<RegExp input="$$1" output="<votes>\1</votes>" dest="5+">
|
||
<expression fixchars="1">>([0-9,]+) votes</a></expression>
|
||
</RegExp>
|
||
<RegExp input="$$1" output="<genre>\1</genre>" dest="5+">
|
||
<expression fixchars="1" repeat="yes">"/genre/[^/]*">([^<]*)</a></expression>
|
||
</RegExp>
|
||
<RegExp input="$$1" output="<studio>\1</studio>" dest="5+">
|
||
<expression fixchars="1" repeat="yes">"/company/[^/]*/">([^<]*)</a></expression>
|
||
</RegExp>
|
||
<RegExp input="$$9" output="<outline>\1</outline><plot>\1</plot>"dest="5+">
|
||
<RegExp input="$$1" output="\1" dest="8">
|
||
<expression >reviews</a></span>(.*?)(?:<a href="plotsummary">|</p>)</expression>
|
||
<RegExp input="$$1" output="<outline>\1</outline><plot>\1</plot>" dest="5+">
|
||
<expression trim="1"><p>\n<p itemprop="description">([^<]+)</p></expression>
|
||
</RegExp>
|
||
<RegExp input="$$8" output="\1 " dest="9+">
|
||
<expression repeat="yes">([^\n]+)</expression>
|
||
</RegExp>
|
||
<expression noclean="1"></expression>
|
||
</RegExp>
|
||
<RegExp input="$$2" output="<url function="GetIMDBPlot">$$3plotsummary</url>" dest="5+">
|
||
<expression fixchars="1"/>
|
||
</RegExp>
|
||
... | ... | |
<RegExp conditional="movieposterdb" input="$$1" output="<url function="GetMoviePosterDBLink">http://www.movieposterdb.com/browse/search?type=movies&amp;query=\1</url>" dest="5+">
|
||
<expression fixchars="1">/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+">
|
||
<expression fixchars="1">/vi([0-9]*)/</expression>
|
||
<RegExp conditional="trailer" input="$$1" output="<url function="GetIMDBTrailer">http://akas.imdb.com/video/imdb/vi\1/player</url>" dest="5+">
|
||
<expression fixchars="1">/vi([0-9]*)/</expression>
|
||
</RegExp>
|
||
<RegExp conditional="dtrailer" input="$$6" output="<url function="GetDTrailerLink">http://en.dtrailer.com/movies/search/\1</url>" dest="5+">
|
||
<RegExp input="$$4" output="\1-" dest="6">
|
||
<RegExp input="$$1" output="\1" dest="4">
|
||
<expression fixchars="1" trim="1" noclean="1"><h1>([^<]*)</expression>
|
||
</RegExp>
|
||
<expression fixchars="1" repeat="yes">([a-zA-Z0-9]+)</expression>
|
||
</RegExp>
|
||
<expression fixchars="1"/>
|
||
<RegExp conditional="dtrailer" input="$$6" output="<url function="GetDTrailerLink">http://en.dtrailer.com/movies/search/\1</url>" dest="5+">
|
||
<RegExp input="$$4" output="\1-" dest="6">
|
||
<RegExp input="$$1" output="\1" dest="4">
|
||
<expression fixchars="1" trim="1" noclean="1"><h1>([^<]*)</expression>
|
||
</RegExp>
|
||
<expression fixchars="1" repeat="yes">([a-zA-Z0-9]+)</expression>
|
||
</RegExp>
|
||
<expression fixchars="1"/>
|
||
</RegExp>
|
||
<RegExp input="$$2" output="<url cache="$$2-posters.html" function="GetIMDBThumbs">$$3posters</url>" dest="5+">
|
||
<expression fixchars="1"/>
|
common/imdb.xml (working copy) | ||
---|---|---|
</GetIMDBTrailer>
|
||
<GetIMDBWriters dest="5">
|
||
<RegExp input="$$2" output="<details>\1</details>" dest="5">
|
||
<RegExp conditional="!fullcredits" input="$$1" output="\1" dest="6">
|
||
<expression noclean="1">Writers?\:(.*?)</div></expression>
|
||
<RegExp input="$$1" output="\1" dest="6">
|
||
<expression noclean="1">Writer[s]?.*?</h4>(.*?)<div class</expression>
|
||
</RegExp>
|
||
<RegExp conditional="fullcredits" input="$$1" output="\1" dest="6">
|
||
<expression noclean="1">Writing credits(.*?)name="</expression>
|
||
</RegExp>
|
||
<RegExp input="$$6" output="<credits>\1</credits>" dest="2+">
|
||
<expression fixchars="1" repeat="yes">/name/[^>"]*">([^<]*)<</expression>
|
||
<expression repeat="yes" fixchars="1"><a href="/name[^>]*>([^<]*)<</expression>
|
||
</RegExp>
|
||
<expression noclean="1"/>
|
||
</RegExp>
|
||
</GetIMDBWriters>
|
||
<GetIMDBCast dest="5">
|
||
<RegExp input="$$2" output="<details>\1</details>" dest="5">
|
||
<RegExp conditional="!fullcredits" input="$$1" output="\1" dest="6">
|
||
<expression noclean="1"><table class="cast_list">(.*?)</table></expression>
|
||
<RegExp input="$$1" output="\1" dest="6">
|
||
<expression noclean="1"><table class="cast_list">(.*?)</table></expression>
|
||
</RegExp>
|
||
<RegExp conditional="fullcredits" input="$$1" output="\1" dest="6">
|
||
<expression noclean="1"><table class="cast">(.*?)</table></expression>
|
||
<RegExp input="$$6" output="<actor><thumb>\2_SX512_SY512_\3</thumb><name>\1</name><role>\5</role></actor>" dest="7">
|
||
<expression repeat="yes" clear="yes" trim="3,4" noclean="1,2"><noscript><img \n[^a]*alt="([^"]*)"[^"]*"[^"]*"[^s]*src="(?:([^"]*\.)[^"]*(\.jpg))[^>]*.*?ter">[^>]*>\n\s*(<[^>]*>)?([^<\(]*)?</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" fixchars="3,5" trim="3,5" noclean="1,2"><img src="(?:([^"]*\.)[^"]*(\.jpg))?[^>]*[^"]*"nm"><a href="[^"]*[^>]*>([^<]*)<[^"]*"ddd">([^<]<)?[^"]*"char">(.*?)</td></expression>
|
||
<RegExp input="$$6" output="<actor><thumb></thumb><name>\1</name><role>\3</role></actor>" dest="7+">
|
||
<expression repeat="yes" trim="1,2" noclean="1,2"><img \n[^a]*alt="([^"]*)"[^"]*"[^"]*"[^s]*src="(?:[^"]*\.[^"]*\.png)" class="" />*.*?ter">[^>]*>\n\s*(<[^>]*>)?([^<\(]*)?</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>
|
||
<expression repeat="yes" clear="yes" noclean="1,2,3"><actor><thumb>(?:(http.*?)|_SX[0-9]+_SY[0-9]+_)?</thumb>(.*?)</actor></expression>
|
||
</RegExp>
|
||
<expression noclean="1"/>
|
||
<expression noclean="1" />
|
||
</RegExp>
|
||
</GetIMDBCast>
|
||
<GetIMDBDirectors dest="5">
|
||
<RegExp input="$$2" output="<details>\1</details>" dest="5">
|
||
<RegExp conditional="!fullcredits" input="$$1" output="\1" dest="6">
|
||
<expression clear="yes" noclean="1">Directors?\:(.*?)</div></expression>
|
||
<RegExp input="$$1" output="\1" dest="6">
|
||
<expression clear="yes" noclean="1">Director[s]?.*?</h4>(.*?)<div class</expression>
|
||
</RegExp>
|
||
<RegExp conditional="fullcredits" input="$$1" output="\1" dest="6">
|
||
<expression clear="yes" noclean="1">Directed by(.*?)</table></expression>
|
||
</RegExp>
|
||
<RegExp input="$$6" output="<director>\1</director>" dest="2+">
|
||
<expression clear="yes" repeat="yes" fixchars="1">/name/[^>"]*">([^<]*)<</expression>
|
||
<expression repeat="yes" fixchars="1" clear="yes"><a href="/name[^>]*>([^<]*)<</expression>
|
||
</RegExp>
|
||
<expression noclean="1"/>
|
||
<expression noclean="1" />
|
||
</RegExp>
|
||
</GetIMDBDirectors>
|
||
<GetIMDBPlot dest="5">
|
- « Previous
- 1
- 2
- 3
- Next »