Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?><scraper framework="11" date="2010-02-19" name="FilmAffinity.es" content="movies" thumb="filmaffinity.gif" language="es">
- <include>common/tmdb.xml</include>
- <include>common/movieposterdb.xml</include>
- <include>common/impa.xml</include>
- <include>common/imdb.xml</include>
- <GetSettings dest="3">
- <RegExp input="$$5" output="<settings>\1</settings>" dest="3">
- <RegExp input="$$1" output="<setting label="Descargar Casting Completo" type="bool" id="EnableFullCast" default="true"></setting>" dest="5+">
- <expression />
- </RegExp>
- <RegExp input="$$1" output="<setting label="Habilitar trailers" type="bool" id="EnableTrailers" default="true"></setting>" dest="5+">
- <expression />
- </RegExp>
- <RegExp input="$$1" output="<setting label="Sólo póster de FilmAffinity y sin FanArt (rápido)" type="bool" id="OnlyFilmAffinity" default="false"></setting>" dest="5+">
- <expression />
- </RegExp>
- <RegExp input="$$1" output="<setting label="Habilitar FanArt" type="bool" id="EnableFanArt" default="true"></setting>" dest="5+">
- <expression />
- </RegExp>
- <RegExp input="$$1" output="<setting label="Descargar pósters de IMPAwards" type="bool" id="EnableIMPAwards" default="true"></setting>" dest="5+">
- <expression />
- </RegExp>
- <RegExp input="$$1" output="<setting label="Descargar pósters de MoviePosterDB" type="bool" id="movieposterdb" default="true"></setting>" dest="5+">
- <expression />
- </RegExp>
- <RegExp input="$$1" output="<setting label="Descargar póster de IMDB" type="bool" id="EnableIMDBPosters" default="true"></setting>" dest="5+">
- <expression />
- </RegExp>
- <RegExp input="$$1" output="<setting label="Tamaño del póster de IMDB" type="labelenum" values="192|256|384|512|1024" id="imdbscale" default="512"></setting>" dest="5+">
- <expression />
- </RegExp>
- <RegExp input="$$1" output="<setting label="Compatibilidad con miniaturas de Estudio" type="bool" id="StudioFlagsON" default="true"></setting>" dest="5+">
- <expression />
- </RegExp>
- <RegExp input="$$1" output="<setting label="Descargar Información Extra de iMDB" type="bool" id="ExtraiMDB" default="true"></setting>" dest="5+">
- <expression />
- </RegExp>
- <RegExp input="$$1" output="<setting label="Descargar Puntuaciones desde iMDB" type="bool" id="iMDBRatings" default="true"></setting>" dest="5+">
- <expression />
- </RegExp>
- <expression noclean="1" />
- </RegExp>
- </GetSettings>
- <NfoUrl dest="3">
- <RegExp input="$$1" output="<url>http://www.filmaffinity.com/es/film\1.html/</url>" dest="3">
- <expression noclean="1">filmaffinity.com/es/film([0-9]*)</expression>
- </RegExp>
- </NfoUrl>
- <CreateSearchUrl SearchStringEncoding="iso-8859-1" dest="3">
- <RegExp input="$$1" output="<url>http://www.filmaffinity.com/es/search.php?stext=\1&amp;stype=none</url>" dest="3">
- <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><img src="http://www.filmaffinity.com/imgs/movies/full/[0-9]*/([0-9]*).jpg"></expression>
- </RegExp>
- <RegExp input="$$1" output="<entity><title>\1 (\2)</title><url>http://www.filmaffinity.com/es/film$$7.html</url><id>$$7</id></entity>" dest="5">
- <expression noclean="1"><title>([^<]*)\(([0-9]*)\) - FilmAffinity</expression>
- </RegExp>
- <RegExp input="$$1" output="\1" dest="4">
- <expression noclean="1">(<b><a href="/es/film.*)</expression>
- </RegExp>
- <RegExp input="$$1" output="<entity><title>\2 (\3)</title><url>http://www.filmaffinity.com/es/film\1.html</url><id>\1</id></entity>" dest="5+">
- <expression repeat="yes" noclean="1,2"><a href="/es/film([0-9]*).html[^>]*>([^<]*)</a>[^\(]*\(([0-9]*)</expression>
- </RegExp>
- <expression noclean="1" />
- </RegExp>
- </GetSearchResults>
- <GetDetails dest="3">
- <RegExp input="$$5" output="<details>\1</details>" dest="3">
- <RegExp input="$$1" output="<title>\1</title>" dest="5">
- <expression trim="1" noclean="1"><img src="http://www.filmaffinity.com/images/movie.gif" border="0"> ([^<]*)</expression>
- </RegExp>
- <RegExp input="$$1" output="<originaltitle>\1</originaltitle>" dest="5+">
- <expression><b>T.TULO ORIGINAL</b></td>.*<td ><b>([^<]+)</expression>
- </RegExp>
- <RegExp input="$$1" output="<plot>\1</plot>" dest="5+">
- <expression><b>SINOPSIS</b></td>.*<td>(.*)\(FILMAFFINITY\).*</td></expression>
- </RegExp>
- <RegExp input="$$1" output="<country>\1</country>" dest="5+">
- <expression><td ><img src="/imgs/countries/...jpg" title="([^"]*)</expression>
- </RegExp>
- <RegExp input="$$9" output="<year>\1</year>" dest="5+">
- <RegExp input="$$1" output="\1" dest="9">
- <expression noclean="1"><b>A.O</b></td>(.*)<b>DURACI.N</b></expression>
- </RegExp>
- <expression repeat="yes"><td >([0-9]*)</expression>
- </RegExp>
- <RegExp input="$$1" output="<genre>\1</genre>" dest="5+">
- <expression repeat="yes">"/es/moviegenre.php?[^>]*>([^<]*)</expression>
- </RegExp>
- <RegExp conditional="!StudioFlagsON" input="$$1" output="<studio>\1</studio>" dest="5+">
- <expression><b>PRODUCTORA</b></td>[^>]*>([^<]*)</td></expression>
- </RegExp>
- <RegExp conditional="StudioFlagsON" input="$$9" output="<studio>\1</studio>" dest="5+">
- <RegExp input="$$1" output="\1" dest="9">
- <expression noclean="1"><b>PRODUCTORA</b></td>[^>]*>([^<]*)</td></expression>
- </RegExp>
- <expression>([^/<]*)</expression>
- </RegExp>
- <RegExp input="$$9" output="<director>\1</director>" dest="5+">
- <RegExp input="$$1" output="\1" dest="9">
- <expression noclean="1"><b>DIRECTOR</b></td>(.*)<b>GUI.N</b></expression>
- </RegExp>
- <expression repeat="yes">stext=[^>]*>([^<]+)</expression>
- </RegExp>
- <RegExp input="$$9" output="<credits>\1</credits>" dest="5+">
- <RegExp input="$$1" output="\1" dest="9">
- <expression noclean="1"><b>GUI.N</b></td>(.*)<b>M.SICA</b></expression>
- </RegExp>
- <expression repeat="yes"><td >([^<]+)</expression>
- </RegExp>
- <RegExp conditional="!iMDBRatings" input="$$1" output="<rating>\1.\2</rating>" dest="5+">
- <expression><tr><td align="center" style="color:#990000; font-size:22px; font-weight: bold;">([1-9]),([0-9])</td></tr></expression>
- </RegExp>
- <RegExp conditional="!iMDBRatings" input="$$1" output="<votes>\1\2</votes>" dest="5+">
- <expression><tr><td align="center">\((.*) votos\)</td></tr></expression>
- </RegExp>
- <RegExp input="$$9" output="<runtime>\1 minutos</runtime>" dest="5+">
- <RegExp input="$$1" output="\1" dest="9">
- <expression noclean="1"><b>DURACI.N</b></td>(.*)<b>PA.S</b></expression>
- </RegExp>
- <expression repeat="yes"><td>([0-9]*) min\.</expression>
- </RegExp>
- <RegExp conditional="!ExtraiMDB" input="$$1" output="<actor><name>\1</name></actor>" dest="5+">
- <expression repeat="yes">"search.php\?stype=cast&[^>]*>([^<]*)</expression>
- </RegExp>
- <RegExp conditional="EnableTrailers" input="$$1" output="<url function="SearchTrailerPage">http://www.filmaffinity.com/es/evideos.php\1</url>" dest="5+">
- <expression noclean="1"><a href="/es/evideos.php([^"]+)</expression>
- </RegExp>
- <RegExp input="$$1" output="<thumb>http://pics.filmaffinity.com/\1</thumb>" dest="5+">
- <expression noclean="1,2">href="http://pics.filmaffinity.com/([^=]*large.jpg)"</expression>
- </RegExp>
- <RegExp input="$$1" output="<url function="GetFilmAffinityPosters">http://www.filmaffinity.com/es/filmimages.php?movie_id=\1</url>" dest="5+">
- <expression noclean="1,2">href="/es/filmimages.php.movie_id=([^"]+)</expression>
- </RegExp>
- <!--URL to Google and IMDB (Original+title+year)-->
- <RegExp conditional="ExtraiMDB" input="$$9" output="<url function="GoogleToIMDB">http://www.google.com/search?q=site:imdb.com\1</url>" dest="5+">
- <RegExp input="$$8" output="+\1" dest="9">
- <RegExp input="$$7" output="\1" dest="8">
- <RegExp input="$$1" output="\1" dest="7">
- <expression noclean="1"><b>T.TULO ORIGINAL</b></td>(.*)<b>A.O</b></expression>
- </RegExp>
- <expression><td ><b>([^<]+)</b></td></expression>
- </RegExp>
- <expression repeat="yes">([^ ,]+)</expression>
- </RegExp>
- <RegExp input="$$6" output="+\1" dest="9+">
- <RegExp input="$$1" output="\1" dest="6">
- <expression noclean="1"><b>A.O</b></td>(.*)<b>DURACI.N</b></expression>
- </RegExp>
- <expression repeat="yes"><td >([0-9]*)</expression>
- </RegExp>
- <expression />
- </RegExp>
- <RegExp input="$$1" output="<thumb>http://pics.filmaffinity.com/\1</thumb>" dest="5+">
- <expression noclean="1,2">img src="http://pics.filmaffinity.com/([^=]*full.jpg)"</expression>
- </RegExp>
- <expression noclean="1" />
- </RegExp>
- </GetDetails>
- <SearchTrailerPage dest="5">
- <RegExp input="$$1" output="<details><trailer>http://www.yobajo.com/watch?v=\1</trailer></details>" dest="5+">
- <expression noclean="1">http://www.youtube.com/v/([^&|^\\]*)</expression>
- </RegExp>
- </SearchTrailerPage>
- <GoogleToIMDB dest="3">
- <RegExp input="$$5" output="<details>\1</details>" dest="3">
- <RegExp input="$$1" output="\1" dest="6">
- <expression noclean="1">/title/tt([0-9]*)</expression>
- </RegExp>
- <RegExp input="" output="<id>tt$$6</id>" dest="5">
- <expression noclean="1" />
- </RegExp>
- <RegExp conditional="EnableFanArt" input="" output="<url function="GetTMDBFanartById">http://www.imdb.com/title/tt$$6</url>" dest="5+">
- <expression />
- </RegExp>
- <RegExp conditional="EnableIMPAwards" input="" output="<url function="GetIMPALink"cache="$$2.html">http://www.imdb.com/title/tt$$6/posters</url>" dest="5+">
- <expression />
- </RegExp>
- <RegExp conditional="movieposterdb" input="" output="<url function="GetMoviePosterDBLink">http://www.movieposterdb.com/browse/search?type=movies&amp;query=$$6</url>" dest="5+">
- <expression />
- </RegExp>
- <RegExp conditional="EnableIMDBPosters" input="" output="<url function="GetIMDBPoster"cache="$$2.html">http://www.imdb.com/title/tt$$6/posters</url>" dest="5+">
- <expression />
- </RegExp>
- <RegExp conditional="EnableFullCast" input="" output="<url function="GetIMDBCast">http://www.imdb.com/title/tt$$6/fullcredits</url>" dest="5+">
- <expression />
- </RegExp>
- <RegExp conditional="!EnableFullCast" input="" output="<url function="GetIMDBCast">http://www.imdb.com/title/tt$$6</url>" dest="5+">
- <expression />
- </RegExp>
- <RegExp conditional="ExtraiMDB" input="" output="<url function="GetImdbStuff">http://www.imdb.com/title/tt$$6</url>" dest="5+">
- <expression />
- </RegExp>
- <expression noclean="1" />
- </RegExp>
- </GoogleToIMDB>
- <GetFilmAffinityPosters dest="5">
- <RegExp input="$$10" output="<details>\1</details>" dest="5">
- <RegExp input="$$1" output="<thumb>http://pics.filmaffinity.com/\1</thumb>" dest="10">
- <expression repeat="yes" noclean="1">url_l: 'http://pics.filmaffinity.com/([^']*)</expression>
- </RegExp>
- <expression noclean="1" />
- </RegExp>
- </GetFilmAffinityPosters>
- <GetImdbStuff dest="5">
- <RegExp input="$$6" output="<details>\1</details>" dest="5">
- <RegExp input="$$1" output="<top250>\1</top250>" dest="6">
- <expression>Top 250: #([0-9]*)</a></expression>
- </RegExp>
- <RegExp input="$$1" output="<mpaa>\1</mpaa>" dest="6+">
- <expression>MPAA</a>:</h5>[^>]*.(.[^<]*)</expression>
- </RegExp>
- <RegExp input="$$1" output="<certification>\1</certification>" dest="6+">
- <expression repeat="yes" noclean="1"><a href="[^?]*.certificates=..[^"]*">([^<]*)</a></expression>
- </RegExp>
- <RegExp conditional="iMDBRatings" input="$$1" output="<rating>\1</rating><votes>\2</votes>" dest="6+">
- <expression><b>([0-9.]+)/10</b>[^<]*<a href="ratings" class="tn15more">([0-9,]+) votes</a></expression>
- </RegExp>
- <RegExp input="$$1" output="<tagline>\1</tagline>" dest="6+">
- <expression><h5>Tagline:</h5>\n<div class="info-content">([^<]*)</expression>
- </RegExp>
- <expression noclean="1" />
- </RegExp>
- </GetImdbStuff>
- </scraper>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement