fixed: Ticket #5499 - Fixed Filmaffinity Scraper (thanks to HectorziN)
[xbmc:xbmc-antiquated.git] / system / scrapers / video / filmaffinity.xml
1 <?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
2 <scraper content="movies" name="FilmAffinity.es (Spanish)" thumb="filmaffinity.gif">
3         <GetSettings dest="3">
4                 <RegExp input="$$5" output="&lt;settings&gt;\1&lt;/settings&gt;" dest="3">
5                         <RegExp input="$$1" output="&lt;setting label=&quot;Buscar fotos de actores en IMDB (muy lento)&quot; type=&quot;bool&quot; id=&quot;SearchCastThumb&quot; default=&quot;true&quot;&gt;&lt;/setting&gt;" dest="5">
6                                 <expression></expression>
7                         </RegExp>
8                         <RegExp input="$$1" output="&lt;setting label=&quot;Habilitar trailers&quot; type=&quot;bool&quot; id=&quot;EnableTrailers&quot; default=&quot;true&quot;&gt;&lt;/setting&gt;" dest="5+">
9                                 <expression></expression>
10                         </RegExp>
11                         <RegExp input="$$1" output="&lt;setting label=&quot;Sólo póster de FilmAffinity y sin FanArt (rápido)&quot; type=&quot;bool&quot; id=&quot;OnlyFilmAffinity&quot; default=&quot;false&quot;&gt;&lt;/setting&gt;" dest="5+">
12                                 <expression></expression>
13                         </RegExp>
14                         <RegExp input="$$1" output="&lt;setting label=&quot;Habilitar FanArt&quot; type=&quot;bool&quot; id=&quot;EnableFanArt&quot; default=&quot;true&quot;&gt;&lt;/setting&gt;" dest="5+">
15                                 <expression></expression>
16                         </RegExp>
17                         <RegExp input="$$1" output="&lt;setting label=&quot;Descargar pósters de IMPAwards&quot; type=&quot;bool&quot; id=&quot;EnableIMPAwards&quot; default=&quot;true&quot;&gt;&lt;/setting&gt;" dest="5+">
18                                 <expression></expression>
19                         </RegExp>
20                         <RegExp input="$$1" output="&lt;setting label=&quot;Descargar pósters de MoviePosterDB&quot; type=&quot;bool&quot; id=&quot;movieposterdb&quot; default=&quot;true&quot;&gt;&lt;/setting&gt;" dest="5+">
21                                 <expression></expression>
22                         </RegExp>
23                         <RegExp input="$$1" output="&lt;setting label=&quot;Descargar póster de IMDB&quot; type=&quot;bool&quot; id=&quot;EnableIMDBPosters&quot; default=&quot;true&quot;&gt;&lt;/setting&gt;" dest="5+">
24                                 <expression></expression>
25                         </RegExp>
26                         <RegExp input="$$1" output="&lt;setting label=&quot;Tamaño del póster de IMDB&quot; type=&quot;labelenum&quot; values=&quot;192|256|384|512|1024&quot; id=&quot;imdbscale&quot; default=&quot;512&quot;&gt;&lt;/setting&gt;" dest="5+">
27                                 <expression></expression>
28                         </RegExp>
29                         <expression noclean="1"></expression>
30                 </RegExp>
31         </GetSettings>
32
33         <NfoUrl dest="3">
34                 <RegExp dest="3" input="$$1" output="&lt;url&gt;http://www.filmaffinity.com/es/film\1.html/&lt;/url&gt;">
35                         <expression noclean="1">filmaffinity.com/es/film([0-9]*)</expression>
36                 </RegExp>
37         </NfoUrl>
38
39         <CreateSearchUrl dest="3" SearchStringEncoding="iso-8859-1">
40                 <RegExp dest="3" input="$$1" output="&lt;url&gt;http://www.filmaffinity.com/es/search.php?stext=\1&amp;amp;stype=title&lt;/url&gt;">
41                         <expression noclean="1"></expression>
42                 </RegExp>
43         </CreateSearchUrl>
44
45         <GetSearchResults dest="8">
46                 <RegExp input="$$5" output="&lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot; standalone=&quot;yes&quot;?&gt;&lt;results&gt;\1&lt;/results&gt;" dest="8">
47                         <RegExp input="$$1" output="\1" dest="7">
48                                 <expression>&lt;img src="http://www.filmaffinity.com/imgs/movies/full/[0-9]*/([0-9]*).jpg"&gt;</expression>
49                         </RegExp>
50                         <RegExp dest="5" input="$$1" output="&lt;entity&gt;&lt;title&gt;\1 (\2)&lt;/title&gt;&lt;url&gt;http://www.filmaffinity.com/es/film$$7.html&lt;/url&gt;&lt;id&gt;$$7&lt;/id&gt;&lt;/entity&gt;">
51                                 <expression noclean="1">&lt;title&gt;([^&lt;]*)\(([0-9]*)\) - FilmAffinity</expression>
52                         </RegExp>
53                         <RegExp input="$$1" output="\1" dest="4">
54                                 <expression noclean="1">(&lt;b&gt;&lt;a href="/es/film.*)</expression>
55                         </RegExp>
56                         <RegExp dest="5+" input="$$1" output="&lt;entity&gt;&lt;title&gt;\2 (\3)&lt;/title&gt;&lt;url&gt;http://www.filmaffinity.com/es/film\1.html&lt;/url&gt;&lt;id&gt;\1&lt;/id&gt;&lt;/entity&gt;">
57                                 <expression repeat="yes" noclean="1,2">&lt;a href="/es/film([0-9]*).html[^&gt;]*&gt;([^&lt;]*)&lt;/a&gt;[^\(]*\(([0-9]*)</expression>
58                         </RegExp>
59                         <expression noclean="1"></expression>
60                 </RegExp>
61         </GetSearchResults>
62
63         <GetDetails dest="3">
64                 <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="3">
65                         <RegExp dest="5" input="$$1" output="&lt;title&gt;\1&lt;/title&gt;">
66                                 <expression trim="1" noclean="1">&lt;img src="http://www.filmaffinity.com/images/movie.gif" border="0"&gt; ([^&lt;]*)</expression>
67                         </RegExp>
68                         <RegExp input="$$1" output="&lt;plot&gt;\1&lt;/plot&gt;" dest="5+">
69                                 <expression>/ SINOPSIS: ([^=]*)\(FILMAFFINITY\)</expression>
70                         </RegExp>
71                         <RegExp input="$$1" output="&lt;plot&gt;\1&lt;/plot&gt;" dest="5+">
72                                 <expression>/ SINOPSIS: ([^=]*)FILMAFFINITY\)</expression>
73                         </RegExp>
74                         <RegExp input="$$1" output="&lt;plot&gt;\1&lt;/plot&gt;" dest="5+">
75                                 <expression>SINOPSIS LARGA: ([^=]*)\(FILMAFFINITY\)</expression>
76                         </RegExp>
77                         <RegExp input="$$1" output="&lt;outline&gt;\1&lt;/outline&gt;" dest="5+">
78                                 <expression>SINOPSIS CORTA: ([^=]*)FILMAFFINITY\)([^=]*)FILMAFFINITY\)([^=]*)FILMAFFINITY\)</expression>
79                         </RegExp>
80                         <RegExp input="$$1" output="&lt;outline&gt;\1&lt;/outline&gt;" dest="5+">
81                                 <expression>SINOPSIS CORTA: ([^=]*)FILMAFFINITY\)([^=]*)FILMAFFINITY\)</expression>
82                         </RegExp>
83                         <RegExp input="$$1" output="&lt;plot&gt;\1&lt;/plot&gt;" dest="5+">
84                                 <expression>/ [^=]* / ([^=]*)FILMAFFINITY\)</expression>
85                         </RegExp>
86                         <RegExp input="$$1" output="&lt;plot&gt;\1&lt;/plot&gt;" dest="5+">
87                                 <expression>/ ([^=]*)FILMAFFINITY\)</expression>
88                         </RegExp>
89                         <RegExp input="$$9" output="&lt;year&gt;\1&lt;/year&gt;" dest="5+">
90                                 <RegExp input="$$1" output="\1" dest="9">
91                                         <expression noclean="1">&lt;b&gt;A.O&lt;/b&gt;&lt;/td&gt;(.*)&lt;b&gt;DURACI.N&lt;/b&gt;</expression>
92                                 </RegExp>
93                                 <expression repeat="yes">&lt;td &gt;([0-9]*)</expression>
94                         </RegExp>
95                         <RegExp input="$$9" output="&lt;studio&gt;\1&lt;/studio&gt;" dest="5+">
96                                 <RegExp input="$$1" output="/ \1 /" dest="9">
97                                         <expression noclean="1">&lt;b&gt;PRODUCTORA&lt;/b&gt;&lt;/td&gt;[^&gt;]*&gt;([^&lt;]*)&lt;/td&gt;</expression>
98                                 </RegExp>
99                                 <expression repeat="yes">([^/]*)/</expression>
100                         </RegExp>
101                         <RegExp input="$$9" output="&lt;director&gt;\1&lt;/director&gt;" dest="5+">
102                                 <RegExp input="$$1" output="\1" dest="9">
103                                         <expression noclean="1">&lt;b&gt;DIRECTOR&lt;/b&gt;&lt;/td&gt;(.*)&lt;b&gt;GUI.N&lt;/b&gt;</expression>
104                                 </RegExp>
105                                 <expression repeat="yes">stext=[^&gt;]*&gt;([^&lt;]+)</expression>
106                         </RegExp>
107                         <RegExp input="$$9" output="&lt;tagline&gt;\1 - " dest="5+">
108                                 <RegExp input="$$1" output="\1" dest="9">
109                                         <expression noclean="1">&lt;b&gt;PA.S&lt;/b&gt;&lt;/td&gt;(.*)&lt;b&gt;DIRECTOR&lt;/b&gt;</expression>
110                                 </RegExp>
111                                 <expression repeat="yes">title="([^"]+)</expression>
112                         </RegExp>
113                         <RegExp input="$$9" output="\1&lt;/tagline&gt;" dest="5+">
114                                 <RegExp input="$$1" output="\1" dest="9">
115                                         <expression noclean="1">&lt;b&gt;T.TULO ORIGINAL&lt;/b&gt;&lt;/td&gt;(.*)&lt;b&gt;A.O&lt;/b&gt;</expression>
116                                 </RegExp>
117                                 <expression repeat="yes">&lt;td &gt;&lt;b&gt;([^&lt;]+)&lt;/b&gt;&lt;/td&gt;</expression>
118                         </RegExp>
119                         <RegExp input="$$9" output="&lt;credits&gt;\1&lt;/credits&gt;" dest="5+">
120                                 <RegExp input="$$1" output="\1" dest="9">
121                                         <expression noclean="1">&lt;b&gt;GUI.N&lt;/b&gt;&lt;/td&gt;(.*)&lt;b&gt;M.SICA&lt;/b&gt;</expression>
122                                 </RegExp>
123                                 <expression repeat="yes">&lt;td &gt;([^&lt;]+)</expression>
124                         </RegExp>
125                         <RegExp input="$$1" output="\1." dest="8">
126                                 <expression noclean="1">&lt;td valign="top"&gt;[^/]*/([^/]*) / [^=]*&lt;br /&gt;</expression>
127                         </RegExp>
128                         <RegExp input="$$9" output="&lt;genre&gt;\1&lt;/genre&gt;" dest="5+">
129                                 <RegExp input="$$8" output=" / \1" dest="9">
130                                         <expression repeat="yes">([^\.]*)\.</expression>
131                                 </RegExp>
132                                 <expression>/ (.*)</expression>
133                         </RegExp>
134                         <RegExp input="$$1" output="\1." dest="7">
135                                 <expression noclean="1">&lt;td valign="top"&gt;([^/]*) / [^=|^/]*&lt;br /&gt;</expression>
136                         </RegExp>
137                         <RegExp input="$$6" output="&lt;genre&gt;\1&lt;/genre&gt;" dest="5+">
138                                 <RegExp input="$$7" output=" / \1" dest="6">
139                                         <expression repeat="yes">([^\.]*)\.</expression>
140                                 </RegExp>
141                                 <expression>/ (.*)</expression>
142                         </RegExp>
143                         <RegExp input="$$1" output="&lt;mpaa&gt;\1&lt;/mpaa&gt;" dest="5+">
144                                 <expression>&lt;td valign="top"&gt;([^/]*)/[^/]* /  [^=]*FILMAFFINITY\)</expression>
145                         </RegExp>
146                         <RegExp input="$$1" output="&lt;rating&gt;\1.\2&lt;/rating&gt;" dest="5+">
147                                 <expression>font-size:22px; font-weight: bold;"&gt;([0-9]+),([0-9]+)</expression>
148                         </RegExp>
149                         <RegExp input="$$1" output="&lt;votes&gt;\1\2&lt;/votes&gt;" dest="5+">
150                                 <expression>&lt;tr&gt;&lt;td align="center"&gt;\(([0-9\.]+) votos\)</expression>
151                         </RegExp>
152                         <RegExp input="$$9" output="&lt;runtime&gt;\1 minutos&lt;/runtime&gt;" dest="5+">
153                                 <RegExp input="$$1" output="\1" dest="9">
154                                         <expression noclean="1">&lt;b&gt;DURACI.N&lt;/b&gt;&lt;/td&gt;(.*)&lt;b&gt;PA.S&lt;/b&gt;</expression>
155                                 </RegExp>
156                                 <expression repeat="yes">&lt;td&gt;([0-9]*) min\.</expression>
157                         </RegExp>
158
159                         <RegExp input="$$20" output="\1" dest="5+">
160                                 <RegExp conditional="!SearchCastThumb" input="$$1" output="&lt;actor&gt;&lt;name&gt;\1&lt;/name&gt;&lt;/actor&gt;" dest="20+">
161                                         <expression repeat="yes" noclean="1" trim="1">&lt;a href="search\.php.stype=cast[^&gt;]*&gt;([^&lt;]*)</expression>
162                                 </RegExp>
163                                 <RegExp conditional="SearchCastThumb" input="$$1" output="&lt;url function=&quot;SearchCastThumb&quot;&gt;http://spanish.imdb.com/find?s=nm&amp;amp;q=\1&lt;/url&gt;" dest="20+">
164                                         <expression repeat="yes" noclean="1" trim="1">&lt;a href="search\.php.stype=cast.stext=([^&quot;]*)[^&gt;]*&gt;([^&lt;]*)</expression>
165                                 </RegExp>
166                                 <RegExp input="$$1" output="" dest="20">
167                                         <expression>&lt;a href="search\.php.stype=cast[^&gt;]*&gt;(Animation)</expression>
168                                 </RegExp>
169                                 <expression noclean="1"></expression>
170                         </RegExp>
171
172                         <RegExp  conditional="EnableTrailers" input="$$1" output="&lt;url function=&quot;SearchTrailerPage&quot;&gt;http://www.filmaffinity.com/es/evideos.php\1&lt;/url&gt;" dest="5+">
173                                 <expression noclean="1">&lt;a href="/es/evideos.php([^"]+)</expression>
174                         </RegExp>
175
176                         <!--URL to Google and IMDB-->
177                         <RegExp conditional="!OnlyFilmAffinity" input="$$9" output="&lt;url function=&quot;GoogleToIMDB&quot;&gt;http://www.google.com/search?q=site:imdb.com\1&lt;/url&gt;" dest="5+">
178                                 <RegExp input="$$8" output="+\1" dest="9">
179                                         <RegExp input="$$7" output="\1" dest="8">
180                                                 <RegExp input="$$1" output="\1" dest="7">
181                                                         <expression noclean="1">&lt;b&gt;T.TULO ORIGINAL&lt;/b&gt;&lt;/td&gt;(.*)&lt;b&gt;A.O&lt;/b&gt;</expression>
182                                                 </RegExp>
183                                                 <expression>&lt;td &gt;&lt;b&gt;([^&lt;]+)&lt;/b&gt;&lt;/td&gt;</expression>
184                                         </RegExp>
185                                         <expression repeat="yes">([^ ,]+)</expression>
186                                 </RegExp>
187                                 <RegExp input="$$6" output="+\1" dest="9+">
188                                         <RegExp input="$$1" output="\1" dest="6">
189                                                 <expression noclean="1">&lt;b&gt;A.O&lt;/b&gt;&lt;/td&gt;(.*)&lt;b&gt;DURACI.N&lt;/b&gt;</expression>
190                                         </RegExp>
191                                         <expression repeat="yes">&lt;td &gt;([0-9]*)</expression>
192                                 </RegExp>
193                                 <expression></expression>
194                         </RegExp>
195
196                         <RegExp conditional="!OnlyFilmAffinity" input="$$1" output="&lt;url function=&quot;GetFilmAffinityPoster&quot;&gt;http://www.filmaffinity.com/es/film\2.html&lt;/url&gt;" dest="5+">
197                                 <expression noclean="1,2">&lt;img src="http://www.filmaffinity.com/imgs/movies/full/([0-9]*)/([0-9]*).jpg"</expression>
198                         </RegExp>
199
200                         <RegExp conditional="OnlyFilmAffinity" input="$$1" output="&lt;thumb&gt;http://www.filmaffinity.com/imgs/movies/full/\1/\2.jpg&lt;/thumb&gt;" dest="5+">
201                                 <expression noclean="1,2">&lt;img src="http://www.filmaffinity.com/imgs/movies/full/([0-9]*)/([0-9]*).jpg"</expression>
202                         </RegExp>
203                         <expression noclean="1"></expression>
204                 </RegExp>
205         </GetDetails>
206
207         <SearchCastThumb clearbuffers="no" dest="5">
208                 <RegExp input="$$1" output="&lt;details&gt;&lt;actor&gt;&lt;name&gt;\1&lt;/name&gt;&lt;/actor&gt;&lt;/details&gt;" dest="5">
209                         <expression noclean="1,9" clear="yes">IMDb Name.*?&quot;q&quot; size=&quot;28&quot; value=&quot;([^&quot;]*)</expression>
210                 </RegExp>
211                 <RegExp input="$$4" output="&lt;details&gt;&lt;actor&gt;\1&lt;/actor&gt;&lt;/details&gt;" dest="5+">
212                         <RegExp input="$$1" output="&lt;name&gt;\1&lt;/name&gt;" dest="4">
213                                 <expression trim="1" noclean="1" clear="yes">&quot;tn15title&quot;&gt;.&lt;h1&gt;([^&lt;|^(]*)</expression>
214                         </RegExp>
215                         <RegExp input="$$9" output="&lt;thumb&gt;\1&lt;/thumb&gt;" dest="4+">
216                                 <RegExp input="$$1" output="\1" dest="9">
217                                         <expression noclean="1">&lt;div class=&quot;photo&quot;&gt;(.*) alt=&quot;</expression>
218                                 </RegExp>
219                                 <expression repeat="yes">img border=&quot;0&quot; src=&quot;([^=]*.jpg)</expression>
220                         </RegExp>
221                         <expression noclean="1">(.*)</expression>
222                 </RegExp>
223                 <RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;GetCastThumb&quot;&gt;http://spanish.imdb.com\1&lt;/url&gt;&lt;/details&gt;" dest="5">
224                         <expression noclean="1">Media of.nbsp;&lt;a href=&quot;([^&quot;]*)</expression>
225                 </RegExp>
226         </SearchCastThumb>
227
228         <GetCastThumb clearbuffers="no" dest="5">
229                 <RegExp input="$$4" output="&lt;details&gt;&lt;actor&gt;\1&lt;/actor&gt;&lt;/details&gt;" dest="5">
230                         <RegExp input="$$1" output="&lt;name&gt;\1&lt;/name&gt;" dest="4">
231                                 <expression noclean="1" clear="yes" trim="1">&lt;title&gt;([^&lt;|^(]*)</expression>
232                         </RegExp>
233                         <RegExp input="$$9" output="&lt;thumb&gt;\1&lt;/thumb&gt;" dest="4+">
234                                 <RegExp input="$$1" output="\1" dest="9">
235                                         <expression noclean="1">&lt;div class=&quot;photo&quot;&gt;(.*) alt=&quot;</expression>
236                                 </RegExp>
237                                 <expression repeat="yes">img border=&quot;0&quot; src=&quot;([^=]*.jpg)</expression>
238                         </RegExp>
239                         <expression noclean="1" clear="yes">(.*)</expression>
240                 </RegExp>
241         </GetCastThumb>
242
243         <SearchTrailerPage clearbuffers="no" dest="5">
244                 <RegExp input="$$1" output="&lt;details&gt;&lt;trailer&gt;http://www.bajaryoutube.com/?youtube=http://www.youtube.com/watch?v=\1&lt;/trailer&gt;&lt;/details&gt;" dest="5">
245                         <expression clear="yes" noclean="1">http://www.youtube.com/v/([^&amp;|^\\]*)</expression>
246                 </RegExp>
247         </SearchTrailerPage>
248
249         <GetYouTube clearbuffers="no" dest="5">
250                 <RegExp  conditional="EnableTrailers" input="$$1" output="&lt;details&gt;&lt;trailer&gt;\1\2&lt;/trailer&gt;&lt;/details&gt;" dest="5">
251                         <expression clear="yes" noclean="1">&amp;video_id=([^&amp;]+)*.&amp;t=([^&amp;]+)</expression>
252                 </RegExp>
253         </GetYouTube>
254
255         <GoogleToIMDB dest="3" clearbuffers="no">
256                 <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="3">
257                         <RegExp input="$$1" output="\1" dest="6">
258                                 <expression noclean="1">/title/tt([0-9]*)</expression>
259                         </RegExp>
260                         <RegExp conditional="EnableFanArt" output="&lt;url function=&quot;GetTMDBId&quot;&gt;http://api.themoviedb.org/2.0/Movie.imdbLookup?imdb_id=tt$$6&amp;amp;api_key=57983e31fb435df4df77afb854740ea9&lt;/url&gt;" dest="5">
261                                 <expression></expression>
262                         </RegExp>
263                         <RegExp conditional="EnableIMPAwards" output="&lt;url function=&quot;GetIMPALink&quot;cache=&quot;$$2.html&quot;&gt;http://www.imdb.com/title/tt$$6/posters&lt;/url&gt;" dest="5+">
264                                 <expression></expression>
265                         </RegExp>
266                         <RegExp conditional="movieposterdb" output="&lt;url function=&quot;GetMoviePosterDBLink&quot;&gt;http://www.movieposterdb.com/browse/search?title=$$6&lt;/url&gt;" dest="5+">
267                                 <expression></expression>
268                         </RegExp>
269                         <RegExp conditional="EnableIMDBPosters" output="&lt;url function=&quot;GetIMDBPoster&quot;cache=&quot;$$2.html&quot;&gt;http://www.imdb.com/title/tt$$6/posters&lt;/url&gt;" dest="5+">
270                                 <expression></expression>
271                         </RegExp>
272                         <expression noclean="1"></expression>
273                 </RegExp>
274         </GoogleToIMDB>
275
276         <!-- Fanart -->
277         <GetTMDBId dest="5">
278                 <RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;GetTMDBFanart&quot;&gt;http://api.themoviedb.org/2.0/Movie.getInfo?id=\1&amp;amp;api_key=57983e31fb435df4df77afb854740ea9&lt;/url&gt;&lt;/details&gt;" dest="5">
279                         <expression>&lt;id&gt;([0-9]*)&lt;/id&gt;</expression>
280                 </RegExp>
281         </GetTMDBId>
282         <GetTMDBFanart dest="5">
283                 <RegExp input="$$2" output="&lt;details&gt;&lt;fanart url=&quot;http://themoviedb.org/image/backdrops&quot;&gt;\1&lt;/fanart&gt;&lt;/details&gt;" dest="5">
284                         <RegExp input="$$1" output="&lt;thumb preview=&quot;/\1/\2_poster.jpg&quot;&gt;/\1/\2.jpg&lt;/thumb&gt;" dest="2">
285                                 <expression repeat="yes">&lt;backdrop size=&quot;original&quot;&gt;.*?/([0-9]*)/([^\.]+).jpg&lt;/backdrop&gt;</expression>
286                         </RegExp>
287                         <expression noclean="1">(.+)</expression>
288                 </RegExp>
289         </GetTMDBFanart>
290
291         <GetIMPALink clearbuffers="no" dest="5">
292                 <RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;GetIMPAPosters&quot;&gt;http://\1impawards.com/\2.html&lt;/url&gt;&lt;/details&gt;" dest="5">
293                         <expression clear="yes" noclean="1,2">http://([^&quot;]*)impawards.com/([^\.]*)\.html</expression>
294                 </RegExp>
295         </GetIMPALink>
296
297         <GetIMPAPosters clearbuffers="no" dest="5">
298                 <RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;GetIMPAPosters&quot;&gt;http://www.impawards.com/\1&lt;/url&gt;&lt;/details&gt;" dest="5">
299                         <expression clear="yes">&lt;meta http-equiv=&quot;REFRESH&quot; content=&quot;0;URL=[^/]*/([^&quot;]*)&quot;&gt;</expression>
300                 </RegExp>
301                 <RegExp input="$$1" output="\1" dest="14">
302                         <expression clear="yes" noclean="1">value=&quot;/([^&quot;]*)/[^&quot;]*\.html&quot;&gt;</expression>
303                 </RegExp>
304                 <RegExp input="$$1" output="&lt;thumb&gt;http://www.impawards.com/$$14/posters/\1&lt;/thumb&gt;" dest="16+">
305                         <expression clear="yes" noclean="1">&lt;img SRC=&quot;posters/([^&quot;]*)&quot;</expression>
306                 </RegExp>
307                 <RegExp input="$$1" output="&lt;thumb&gt;http://www.impawards.com/$$14/posters/\1&lt;/thumb&gt;" dest="17+">
308                         <expression clear="yes" repeat="yes" noclean="1">thumbs/imp_([^&gt;]*ver[^&gt;]*.jpg)&gt;</expression>
309                 </RegExp>
310         </GetIMPAPosters>
311
312         <GetMoviePosterDBLink dest="5">
313                 <RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;GetMoviePosterDB&quot;&gt;\1&lt;/url&gt;&lt;/details&gt;" dest="5">
314                         <expression>(http://www.movieposterdb.com/movie/[^&quot;]*)&quot;</expression>
315                 </RegExp>
316         </GetMoviePosterDBLink>
317
318         <GetMoviePosterDB clearbuffers="no" dest="12">
319                 <RegExp input="$$1" output="&lt;thumb&gt;\1l_\2&lt;/thumb&gt;" dest="13+">
320                         <expression clear="yes" repeat="yes" noclean="1,2">&quot;poster&quot;.*?src=&quot;(.*?)[a-z]_(.*?)&quot;</expression>
321                 </RegExp>
322         </GetMoviePosterDB>
323
324         <GetIMDBPoster clearbuffers="no" dest="5">
325                 <RegExp input="$$6" output="&lt;thumb&gt;\1&lt;/thumb&gt;" dest="15">
326                         <RegExp input="$$1" output="\1_SX$INFO[imdbscale]_SY$INFO[imdbscale]_\2" dest="6">
327                                 <expression noclean="1,2">&lt;a name=&quot;poster&quot;.*?src=&quot;(.*?)_S.*?(.jpg)&quot;.*?&lt;/a&gt;</expression>
328                         </RegExp>
329                         <expression clear="yes" noclean="1">(.*?_SX[0-9]+_SY[0-9]+_.jpg)</expression>
330                 </RegExp>
331         </GetIMDBPoster>
332
333         <GetFilmAffinityPoster clearbuffers="no" dest="5">
334                 <RegExp input="$$16$$17$$13$$15$$18" output="&lt;details&gt;&lt;thumbs&gt;\1&lt;/thumbs&gt;&lt;/details&gt;" dest="5">
335                         <RegExp input="$$1" output="&lt;thumb&gt;http://www.filmaffinity.com/imgs/movies/full/\1/\2.jpg&lt;/thumb&gt;" dest="18">
336                                 <expression noclean="1,2">&lt;img src="http://www.filmaffinity.com/imgs/movies/full/([0-9]*)/([0-9]*).jpg"</expression>
337                         </RegExp>
338                         <expression noclean="1"></expression>
339                 </RegExp>
340         </GetFilmAffinityPoster>
341 </scraper>