<?xml version="1.0" encoding="UTF-8"?>
<!-- myMovies.it scaper for xbmc. Written by muttley -->
<!-- Get latest version from muttley.eb2a.com -->
<!-- now...make popcorn and good vision! -->

<scraper framework="1.0" date="2009-11-12" name="myMovies" content="movies" thumb="myMovies.png" language="it">
	<include>common/tmdb.xml</include>

	<GetSettings dest="3">
		<RegExp input="$$5" output="&lt;settings&gt;\1&lt;/settings&gt;" dest="3">
			<RegExp input="$$1" output="&lt;setting label=&quot;Cast completo&quot; type=&quot;bool&quot; id=&quot;fullcredits&quot; default=&quot;true&quot;&gt;&lt;/setting&gt;" dest="5">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;setting label=&quot;Cast completo >> Regista/i&quot; type=&quot;bool&quot; id=&quot;viewDirector&quot; default=&quot;true&quot; enable=&quot;eq(-1,true)&quot;&gt;&lt;/setting&gt;" dest="5+">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;setting label=&quot;Cast completo >> Attori&quot; type=&quot;bool&quot; id=&quot;viewActors&quot; default=&quot;true&quot; enable=&quot;eq(-2,true)&quot;&gt;&lt;/setting&gt;" dest="5+">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;setting label=&quot;Cast completo >> Filmmakers&quot; type=&quot;bool&quot; id=&quot;viewFilmmakers&quot; default=&quot;true&quot; enable=&quot;eq(-3,true)&quot;&gt;&lt;/setting&gt;" dest="5+">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;setting label=&quot;Cast completo >> Separatori del Cast&quot; type=&quot;bool&quot; id=&quot;fakeactor&quot; default=&quot;false&quot; enable=&quot;eq(-4,true)&quot;&gt;&lt;/setting&gt;" dest="5+">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;setting type=&quot;sep&quot;&gt;&lt;/setting&gt;" dest="5+">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;setting label=&quot;Aggiungi al Plot >> Critica&quot; type=&quot;bool&quot; id=&quot;critic&quot; default=&quot;false&quot;&gt;&lt;/setting&gt;" dest="5+">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;setting label=&quot;Aggiungi al Plot >> Commenti del Pubblico&quot; type=&quot;bool&quot; id=&quot;public&quot; default=&quot;false&quot;&gt;&lt;/setting&gt;" dest="5+">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;setting label=&quot;Aggiungi al Plot >> Commenti sul Forum&quot; type=&quot;bool&quot; id=&quot;forum&quot; default=&quot;false&quot;&gt;&lt;/setting&gt;" dest="5+">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;setting label=&quot;Aggiungi al Plot >> Frasi Celebri del film&quot; type=&quot;bool&quot; id=&quot;frasi_celebri&quot; default=&quot;false&quot;&gt;&lt;/setting&gt;" dest="5+">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;setting type=&quot;sep&quot;&gt;&lt;/setting&gt;" dest="5+">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;setting label=&quot;Voto in 10esimi&quot; type=&quot;bool&quot; id=&quot;rating_ten&quot; default=&quot;false&quot;&gt;&lt;/setting&gt;" dest="5+">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;setting label=&quot;Voto Dizionari, Critica e Pubblico&quot; type=&quot;bool&quot; id=&quot;other_rating&quot; default=&quot;true&quot;&gt;&lt;/setting&gt;" dest="5+">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;setting label=&quot;Voto Dizionari, Critica e Pubblico > Visualizza in:&quot; type=&quot;labelenum&quot; values=&quot;mpaa|studio|outline&quot; id=&quot;tag_other_rating&quot; default=&quot;studio&quot; enable=&quot;eq(-1,true)&quot;&gt;&lt;/setting&gt;" dest="5+">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;setting type=&quot;sep&quot;&gt;&lt;/setting&gt;" dest="5+">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;setting label=&quot;Tutti i Posters&quot; type=&quot;bool&quot; id=&quot;thumbs&quot; default=&quot;true&quot;&gt;&lt;/setting&gt;" dest="5+">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;setting label=&quot;Trailer&quot; type=&quot;bool&quot; id=&quot;trailer&quot; default=&quot;true&quot;&gt;&lt;/setting&gt;" dest="5+">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;setting label=&quot;TMDB Backdrops (Lento)&quot; type=&quot;bool&quot; id=&quot;backdrops&quot; default=&quot;true&quot;&gt;&lt;/setting&gt;" dest="5+">
				<expression />
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetSettings>

	<NfoUrl dest="3">
		<RegExp input="$$1" output="\1" dest="3">
			<expression noclean="1">(http://www\.mymovies\.it/dizionario/recensione\.asp\?id=[0-9]+)</expression>
		</RegExp>
	</NfoUrl>

	<CreateSearchUrl dest="3">
		<RegExp input="$$1" output="http://www.google.it/cse?q=\1&amp;cx=partner-pub-1699801751737986%3Ax7j961-1g3m&amp;ie=ISO-8859-1&amp;sa=Cerca&amp;num=20" dest="3">
			<expression noclean="1" />
		</RegExp>
	</CreateSearchUrl>

	<GetSearchResults dest="8">
		<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">
			<!-- Add new link style to Search result (http://www.mymovies.it/film/<year>/<film_name>/) -->
			<RegExp input="$$1" output="&lt;entity&gt;&lt;title&gt;\2 (\4, \3)&lt;/title&gt;&lt;url&gt;\1&lt;/url&gt;&lt;id&gt;\1&lt;/id&gt;&lt;/entity&gt;" dest="5">
				<expression repeat="yes" cs="true">&lt;a href=&quot;(http://www\.mymovies\.it/film/[0-9]{4}/[^/]+/)&quot; target=_top class=l&gt;(.+?) \(([0-9]{4})\) +\| +MYmovies&lt;/a&gt;&lt;table border=0 cellpadding=0 cellspacing=0&gt;&lt;tr&gt;&lt;td class=&quot;j&quot;&gt;&lt;div class=std&gt;(?(?=Un film di )Un film di (.+?) con)</expression>
			</RegExp>
			<!-- Add OLD link style to Search result (www.mymovies.it/dizionario/recensione.asp?id=[0-9]) -->
			<RegExp input="$$1" output="&lt;entity&gt;&lt;title&gt;\2 (\4, \3)&lt;/title&gt;&lt;url&gt;\1&lt;/url&gt;&lt;id&gt;\1&lt;/id&gt;&lt;/entity&gt;" dest="5+">
				<expression repeat="yes" cs="true">&lt;a href=&quot;(http://www\.mymovies\.it/dizionario/recensione\.asp\?id=[0-9]+)&quot; target=_top class=l&gt;(.+?) \(([0-9]{4})\) +\| +MYmovies&lt;/a&gt;&lt;table border=0 cellpadding=0 cellspacing=0&gt;&lt;tr&gt;&lt;td class=&quot;j&quot;&gt;&lt;div class=std&gt;(?(?=Un film di )Un film di (.+?) con)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetSearchResults>

	<GetDetails dest="3">
		<RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="3">

			<!-- Title, Year -->
			<RegExp input="$$1" output="&lt;title&gt;\1&lt;/title&gt;&lt;year&gt;\2&lt;/year&gt;" dest="5">
				<expression noclean="1,2">&lt;title&gt;([^\(]+) \(([0-9]{4})</expression>
			</RegExp>

			<!-- Genre -->
			<RegExp input="$$1" output="&lt;genre&gt;\2&lt;/genre&gt;" dest="5+">
				<!-- buffer 1 is needed only for match, not used -->
				<expression noclean="1">&lt;a title=&quot;Film ([^&quot;]+)&quot; href=&quot;http://www.mymovies.it/film/\1/&quot;&gt;([^&lt;]+)</expression>
			</RegExp>

			<!-- Runtime -->
			<RegExp input="$$1" output="&lt;runtime&gt;\1&lt;/runtime&gt;" dest="5+">
				<expression noclean="1">durata ([0-9]+) min\.</expression>
			</RegExp>

			<!-- Director(s) -->
			<RegExp input="$$1" output="\1" dest="4">
				<expression cs="true">&lt;div style=&quot;text-align:left&quot; class=&quot;linkblu&quot;&gt;[^U]+Un film di (.+?)Con</expression>
			</RegExp>
			<RegExp input="$$4" output="&lt;director&gt;\1&lt;/director&gt;" dest="5+">
				<!-- separe each director -->
				<expression repeat="yes" noclean="1">([^\.^,]+)[\.,]</expression>
			</RegExp>

			<!-- Writer(s) -->
			<RegExp input="$$1" output="&lt;url cache=&quot;$$2-fullcredits.html&quot; function=&quot;GetMovieWriters&quot;&gt;\1&lt;/url&gt;" dest="5+">
				<expression noclean="1">&lt;td class=&quot;rec_link_disattivo&quot;&gt;&lt;a title=&quot;Cast [^&quot;]+&quot; href=&quot;([^&quot;]+)&quot;&gt;Cast&lt;/a&gt;&lt;/td&gt;</expression>
			</RegExp>

			<!-- Tagline -->
			<RegExp input="$$1" output="&lt;tagline&gt;\1&lt;/tagline&gt;" dest="5+">
				<expression trim="1">&lt;strong class=&quot;rec_lancio&quot; &gt;(.+?)&lt;/strong&gt;</expression>
			</RegExp>

			<!-- Rating -->
			<!-- rating map array -->
			<RegExp conditional="rating_ten"
				output="&lt;r&gt;0.1-No rating found&lt;/r&gt;&lt;r&gt;0.1-0.2&lt;/r&gt;&lt;r&gt;0.2-0.4&lt;/r&gt;&lt;r&gt;0.3-0.6&lt;/r&gt;&lt;r&gt;0.4-0.8&lt;/r&gt;&lt;r&gt;0.5-1.0&lt;/r&gt;&lt;r&gt;0.6-1.2&lt;/r&gt;&lt;r&gt;0.7-1.4&lt;/r&gt;&lt;r&gt;0.8-1.6&lt;/r&gt;&lt;r&gt;0.9-1.8&lt;/r&gt;&lt;r&gt;1.0-2.0&lt;/r&gt;&lt;r&gt;1.1-2.2&lt;/r&gt;&lt;r&gt;1.2-2.4&lt;/r&gt;&lt;r&gt;1.3-2.6&lt;/r&gt;&lt;r&gt;1.4-2.8&lt;/r&gt;&lt;r&gt;1.5-3.0&lt;/r&gt;&lt;r&gt;1.6-3.2&lt;/r&gt;&lt;r&gt;1.7-3.4&lt;/r&gt;&lt;r&gt;1.8-3.6&lt;/r&gt;&lt;r&gt;1.9-3.8&lt;/r&gt;&lt;r&gt;2.0-4.0&lt;/r&gt;&lt;r&gt;2.1-4.2&lt;/r&gt;&lt;r&gt;2.2-4.4&lt;/r&gt;&lt;r&gt;2.3-4.6&lt;/r&gt;&lt;r&gt;2.4-4.8&lt;/r&gt;&lt;r&gt;2.5-5.0&lt;/r&gt;&lt;r&gt;2.6-5.2&lt;/r&gt;&lt;r&gt;2.7-5.4&lt;/r&gt;&lt;r&gt;2.8-5.6&lt;/r&gt;&lt;r&gt;2.9-5.8&lt;/r&gt;&lt;r&gt;3.0-6.0&lt;/r&gt;&lt;r&gt;3.1-6.2&lt;/r&gt;&lt;r&gt;3.2-6.4&lt;/r&gt;&lt;r&gt;3.3-6.6&lt;/r&gt;&lt;r&gt;3.4-6.8&lt;/r&gt;&lt;r&gt;3.5-7.0&lt;/r&gt;&lt;r&gt;3.6-7.2&lt;/r&gt;&lt;r&gt;3.7-7.4&lt;/r&gt;&lt;r&gt;3.8-7.6&lt;/r&gt;&lt;r&gt;3.9-7.8&lt;/r&gt;&lt;r&gt;4.0-8.0&lt;/r&gt;&lt;r&gt;4.1-8.2&lt;/r&gt;&lt;r&gt;4.2-8.4&lt;/r&gt;&lt;r&gt;4.3-8.6&lt;/r&gt;&lt;r&gt;4.4-8.8&lt;/r&gt;&lt;r&gt;4.5-9.0&lt;/r&gt;&lt;r&gt;4.6-9.2&lt;/r&gt;&lt;r&gt;4.7-9.4&lt;/r&gt;&lt;r&gt;4.8-9.6&lt;/r&gt;&lt;r&gt;4.9-9.8&lt;/r&gt;&lt;r&gt;5.0-10.0&lt;/r&gt;&lt;r&gt;n.d- &lt;/r&gt;"
				dest="4">
				<expression noclean="1" />
			</RegExp>
			<!-- Average -->
			<RegExp input="$$1" output="\1.\2" dest="6">
				<expression noclean="1" clear="yes">&lt;div style=&quot;text-align:center; font-size:23px; font-weight:bold; letter-spacing:1px; margin:0px 11px 7px 11px&quot;&gt;([0-9]),([0-9]{2})</expression>
			</RegExp>
			<!-- Rating x of 10 -->
			<RegExp conditional="rating_ten" input="$$4" output="\1" dest="6">
				<!-- number rounding -->
				<RegExp input="$$6" output="\1.\2" dest="6">
					<expression noclean="1">([0-9])\.([0-9])</expression>
				</RegExp>
				<expression noclean="1">$$6-([^&lt;]+)</expression>
			</RegExp>
			<RegExp input="$$6" output="&lt;rating&gt;\1&lt;/rating&gt;" dest="5+">
				<expression noclean="1" />
			</RegExp>

			<!-- Others Rating -->
			<RegExp conditional="other_rating" input="$$8" output="&lt;$INFO[tag_other_rating]&gt;\1&lt;/$INFO[tag_other_rating]&gt;" dest="5+">
				<!-- Dizionari -->
				<RegExp input="$$1" output="Dizionari: \1" dest="8">
					<expression clear="yes" noclean="1,2">&lt;td style=&quot;letter-spacing:1px;&quot;[^&gt;]+&gt;[^;]+;dizionari&lt;/td&gt;[^0-9]+([0-9,]+) stelle</expression>
				</RegExp>
				<!-- Critica -->
				<RegExp input="$$1" output=" / Critica: \1" dest="8+">
					<expression noclean="1,2">&lt;td style=&quot;letter-spacing:1px;&quot;[^&gt;]+&gt;[^;]+;critica&lt;/td&gt;[^0-9]+([0-9,]+) stelle</expression>
				</RegExp>
				<!-- Pubblico -->
				<RegExp input="$$1" output=" / Pubblico: \1" dest="8+">
					<expression noclean="1,2">&lt;td style=&quot;letter-spacing:1px;&quot;[^&gt;]+&gt;[^;]+;pubblico&lt;/td&gt;[^0-9]+([0-9,]+) stelle</expression>
				</RegExp>
				<expression noclean="1" />
			</RegExp>

			<!-- Cast -->
			<RegExp conditional="!fullcredits" input="$$1" output="&lt;url cache=&quot;$$2-fullcredits.html&quot; function=&quot;GetMovieCast&quot;&gt;\1&lt;/url&gt;" dest="5+">
				<expression noclean="1">&lt;td class=&quot;rec_link_disattivo&quot;&gt;&lt;a title=&quot;Cast [^&quot;]+&quot; href=&quot;([^&quot;]+)&quot;&gt;Cast&lt;/a&gt;&lt;/td&gt;</expression>
			</RegExp>
			<!-- else Full Cast -->
			<RegExp conditional="fullcredits" input="$$1" output="&lt;url cache=&quot;$$2-fullcredits.html&quot; function=&quot;GetMovieFullCast&quot;&gt;\1&lt;/url&gt;" dest="5+">
				<expression noclean="1">&lt;td class=&quot;rec_link_disattivo&quot;&gt;&lt;a title=&quot;Cast [^&quot;]+&quot; href=&quot;([^&quot;]+)&quot;&gt;Cast&lt;/a&gt;&lt;/td&gt;</expression>
			</RegExp>

			<!-- Thumb -->
			<RegExp conditional="!thumbs" input="$$1" output="&lt;thumb&gt;\1&lt;/thumb&gt;" dest="5+">
				<expression cs="true" noclean="1">&lt;img style=&quot;[^&quot;]+&quot; src=&quot;([^&quot;]+)&quot; width=&quot;150px&quot; height=&quot;215px&quot; alt=&quot;Locandina</expression>
			</RegExp>
			<!-- else All Thumbs -->
			<RegExp conditional="thumbs" input="$$1" output="&lt;url function=&quot;GetMovieThumbs&quot;&gt;\1&lt;/url&gt;" dest="5+">
				<expression noclean="1">&lt;td class=&quot;rec_link_disattivo&quot;&gt;&lt;a title=&quot;Poster [^&quot;]+&quot; href=&quot;([^&quot;]+)&quot;&gt;Poster&lt;/a&gt;&lt;/td&gt;</expression>
			</RegExp>

			<!-- Trailer -->
			<RegExp conditional="trailer" input="$$1" output="&lt;url function=&quot;GetMovieTrailer&quot;&gt;\1&lt;/url&gt;" dest="5+">
				<expression noclean="1">&lt;td class=&quot;rec_link_disattivo&quot;&gt;&lt;a title=&quot;Trailer [^&quot;]+&quot; href=&quot;([^&quot;]+)&quot;&gt;Trailer&lt;/a&gt;&lt;/td&gt;</expression>
			</RegExp>

			<!-- Tmdb Backdrops through imdbId -->

			<!-- Get imdbId -->
			<RegExp conditional="backdrops" input="$$6" output="&lt;url function=&quot;GetTMDBFanartByIMDBSearchPage&quot;&gt;http://akas.imdb.com/find?s=tt;q=\1&lt;/url&gt;" dest="5+">
				<!-- Italian film title -->
				<RegExp input="$$1" output="\1" dest="4">
					<expression noclean="1">&lt;title&gt;([^\(]+) \(</expression>
				</RegExp>
				<!-- Original film title: not always present -->
				<RegExp input="$$1" output="\1" dest="3">
					<expression cs="true" noclean="1" clear="yes">Titolo originale[^&gt;]+&gt;([^&lt;]+)&lt;</expression>
				</RegExp>
				<!-- Test Original film title -->
				<RegExp input="$$3" output="\1" dest="4">
					<expression>(.+)</expression>
				</RegExp>
				<!-- For better serach -->
				<!-- Get Film Date -->
				<RegExp input="$$1" output="$$4 (\1)" dest="4">
					<expression noclean="1">&lt;title&gt;[^\(]+ \(([0-9]{4})</expression>
				</RegExp>
				<!-- Substitute "space" with "%20"...a sort of urlencoding -->
				<!-- when supported use: encode="1" -->
				<RegExp input="$$4" output="\1" dest="6">
					<expression encode="1" />
				</RegExp>
				<expression noclean="1" />
			</RegExp>


			<!-- Plot: It is used for report many information... -->
			<!-- Custum function are used only for see all buffer -->
			<!-- I buffer della GetDetails non sono visibili alle funzioni custom e non risco a trovare un approccio differente per appendere informazioni al plot -->
			<RegExp input="$$1" output="&lt;url function=&quot;GetMoviePlot&quot;&gt;$$2&lt;/url&gt;" dest="5+">
				<expression />
			</RegExp>

			<!-- Plot: all that you want append... -->
			<RegExp conditional="critic" input="$$1" output="&lt;url function=&quot;GetMovieCritic&quot;&gt;\1&lt;/url&gt;" dest="5+">
				<expression noclean="1">&lt;td class=&quot;rec_link_disattivo&quot;&gt;&lt;a title=&quot;[^&quot;]+&quot; href=&quot;([^&quot;]+)&quot;&gt;Critica&lt;/a&gt;&lt;/td&gt;</expression>
			</RegExp>
			<RegExp conditional="public" input="$$1" output="&lt;url function=&quot;GetMoviePublic&quot;&gt;\1&lt;/url&gt;" dest="5+">
				<expression noclean="1">&lt;td class=&quot;rec_link_disattivo&quot;&gt;&lt;a title=&quot;[^&quot;]+&quot; href=&quot;([^&quot;]+)&quot;&gt;Pubblico&lt;/a&gt;&lt;/td&gt;</expression>
			</RegExp>
			<RegExp conditional="forum" input="$$1" output="&lt;url function=&quot;GetMovieForum&quot;&gt;\1&lt;/url&gt;" dest="5+">
				<expression noclean="1">&lt;td class=&quot;rec_link_disattivo&quot;&gt;&lt;a title=&quot;[^&quot;]+&quot; href=&quot;([^&quot;]+)&quot;&gt;Forum&lt;/a&gt;&lt;/td&gt;</expression>
			</RegExp>
			<RegExp conditional="frasi_celebri" input="$$1" output="&lt;url function=&quot;GetMovieFrasiCelebri&quot;&gt;\1&lt;/url&gt;" dest="5+">
				<expression noclean="1">&lt;td class=&quot;rec_link_disattivo&quot;&gt;&lt;a title=&quot;[^&quot;]+&quot; href=&quot;([^&quot;]+)&quot;&gt;Frasi&lt;/a&gt;&lt;/td&gt;</expression>
			</RegExp>

			<!-- Plot: ...at the end -->
			<!-- Non serve a un c***o l'url (già cached), ma è l'unico modo per vedere i buffer 10,11,12,13,14 istanziati nelle custom function -->
			<RegExp output="&lt;url cache=&quot;$$2-fullcredits.html&quot; function=&quot;AppendToPlot&quot;&gt;$$2&lt;/url&gt;" dest="5+">
				<expression noclean="1" />
			</RegExp>

			<expression noclean="1" />
		</RegExp>
	</GetDetails>

		<GetMovieWriters dest="5">
			<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
				<RegExp input="$$1" output="&lt;credits&gt;\1&lt;/credits&gt;" dest="2">
					<expression repeat="yes" noclean="1">title=&quot; ?([^&quot;]+)&quot;&gt; ?\1&lt;/a&gt;[^&lt;]+&lt;div style=&quot;margin-top:3px; font-weight:bold;&quot;&gt;Soggetto&lt;/div&gt;</expression>
				</RegExp>
				<expression noclean="1" />
			</RegExp>
		</GetMovieWriters>

	<GetMovieTrailer dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;trailer&gt;\1&lt;/trailer&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1">&lt;param name=&quot;flashvars&quot; value=&quot;file=([^&amp;]+)&amp;</expression>
		</RegExp>
	</GetMovieTrailer>

	<GetMovieThumbs dest="5">
		<RegExp input="$$3" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<!-- Match only one big image -->
			<RegExp input="$$1" output="&lt;thumb&gt;\1&lt;/thumb&gt;" dest="3">
				<expression noclean="1" clear="yes">&lt;img width=&quot;420&quot; style=&quot;margin-top:25px; margin-bottom:25px;&quot; title=&quot;[^&quot;]+&quot; alt=&quot;[^&quot;]+&quot; src=&quot;([^&quot;]+)&quot; /&gt;</expression>
			</RegExp>
			<!-- Match All img -->
			<RegExp input="$$1" output="&lt;thumb&gt;\1&lt;/thumb&gt;" dest="3+">
				<expression repeat="yes" noclean="1">&lt;img width=&quot;146&quot; style=&quot;margin-top:10px; margin-bottom:10px;&quot; title=&quot;[^&quot;]+&quot; alt=&quot;[^&quot;]+&quot; src=&quot;([^&quot;]+)&quot;</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetMovieThumbs>

	<GetMovieCast dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;actor&gt;&lt;name&gt;\1&lt;/name&gt;&lt;role&gt;\2&lt;/role&gt;&lt;/actor&gt;" dest="2">
				<expression repeat="yes" noclean="1">&lt;a href=&quot;http://www.mymovies.it/biografia/\?a=[0-9]+&quot; title=&quot;([^&quot;]+)&quot;&gt;\1&lt;/a&gt;[^&gt;]+&gt;([^&lt;]+)&lt;/div&gt;</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetMovieCast>

	<GetTMDBFanartByIMDBSearchPage dest="7">
		<RegExp input="$$6" output="&lt;details&gt;\1&lt;/details&gt;" dest="7">
			<RegExp input="$$1" output="&lt;id&gt;\1&lt;/id&gt;" dest="4">
				<expression clear="yes">/title/([t0-9]*)/faq</expression>
			</RegExp>
			<RegExp input="$$1" output="\1" dest="3">
				<expression noclean="1">(&gt;&lt;a href=&quot;/title.*)</expression>
			</RegExp>
			<RegExp input="$$3" output="&lt;id&gt;\1&lt;/id&gt;" dest="4+">
				<expression noclean="1,2">&gt;&lt;a href=&quot;/title/([t0-9]*)/[^&gt;]*&gt;[^&lt;]*&lt;/a&gt; *\([0-9]*</expression>
			</RegExp>
			<RegExp input="$$4" output="\1" dest="5">
				<expression noclean="1" clear="yes">([t0-9]+)</expression>
			</RegExp>
			<RegExp input="$$5" output="&lt;url function=&quot;GetTMDBFanartById&quot;&gt;http://www.imdb.com/title/\1/&lt;/url&gt;" dest="6">
				<expression noclean="1" />
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetTMDBFanartByIMDBSearchPage>

	<GetMovieFullCast dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">

			<!-- Director(s) -->
			<RegExp conditional="viewDirector" input="$$3" output="\1" dest="2">
				<!-- Fake Actor for Section delimiter: Regia -->
				<RegExp conditional="fakeactor" output="&lt;actor&gt;&lt;name&gt;.Regia&lt;/name&gt;&lt;/actor&gt;" dest="3">
					<expression noclean="1" />
				</RegExp>
				<!-- Get Director(s) -->
				<RegExp input="$$1" output="&lt;actor&gt;&lt;thumb&gt;\1&lt;/thumb&gt;&lt;name&gt;\2&lt;/name&gt;&lt;role&gt;\3&lt;/role&gt;&lt;/actor&gt;" dest="3+">
					<expression repeat="yes" noclean="1">src=&quot;([^&quot;]+)&quot; alt=&quot;([^&quot;]+)&quot; /&gt;[^d]+div[^&quot;]+&quot;[^&lt;]+&lt;[^&quot;]+&quot;http://www.mymovies.it/biografia/\?r=[0-9]+&quot; title=&quot;\2&quot;&gt;\2&lt;/a&gt;[^&gt;]+&gt;([^&lt;]+)&lt;/div&gt;</expression>
				</RegExp>
				<expression noclean="1" />
			</RegExp>

			<!-- Actors -->
			<RegExp conditional="viewActors" input="$$4" output="\1" dest="2+">
				<!-- Fake Actor for Section delimiter: Cast artistico -->
				<RegExp conditional="fakeactor" output="&lt;actor&gt;&lt;name&gt;.Cast artistico&lt;/name&gt;&lt;/actor&gt;" dest="4">
					<expression noclean="1" />
				</RegExp>
				<!-- Get Actors -->
				<RegExp input="$$1" output="&lt;actor&gt;&lt;thumb&gt;\1&lt;/thumb&gt;&lt;name&gt;\2&lt;/name&gt;&lt;role&gt;\3&lt;/role&gt;&lt;/actor&gt;" dest="4+">
					<expression repeat="yes" noclean="1">src=&quot;([^&quot;]+)&quot; alt=&quot;([^&quot;]+)&quot; /&gt;[^d]+div[^&quot;]+&quot;[^&lt;]+&lt;[^&quot;]+&quot;http://www.mymovies.it/biografia/\?a=[0-9]+&quot; title=&quot;\2&quot;&gt;\2&lt;/a&gt;[^&gt;]+&gt;([^&lt;]+)&lt;/div&gt;</expression>
				</RegExp>
				<expression noclean="1" />
			</RegExp>

			<!-- Filmmakers -->
			<RegExp conditional="viewFilmmakers" input="$$5" output="\1" dest="2+">
				<!-- Fake Actor for Section delimiter: Filmmakers -->
				<RegExp conditional="fakeactor" output="&lt;actor&gt;&lt;name&gt;.Filmmakers&lt;/name&gt;&lt;/actor&gt;" dest="5">
					<expression noclean="1" />
				</RegExp>
				<!-- Get Filmmakers -->
				<RegExp input="$$1" output="&lt;actor&gt;&lt;thumb&gt;\1&lt;/thumb&gt;&lt;name&gt;\2&lt;/name&gt;&lt;role&gt;\3&lt;/role&gt;&lt;/actor&gt;" dest="5+">
					<expression repeat="yes" noclean="1">src=&quot;([^&quot;]+)&quot; alt=&quot;([^&quot;]+)&quot; /&gt;[^d]+div[^&quot;]+&quot;[^&lt;]+&lt;[^&quot;]+&quot;http://www.mymovies.it/biografia/\?s=[0-9]+&quot; title=&quot;\2&quot;&gt;\2&lt;/a&gt;[^&gt;]+&gt;([^&lt;]+)&lt;/div&gt;</expression>
				</RegExp>
				<expression noclean="1" />
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetMovieFullCast>

	<!-- All stuff append to plot -->

	<GetMoviePlot clearbuffers="no" dest="5">
		<RegExp input="$$1" output="\1" dest="10">
			<expression trim="1" cs="true">&lt;td rowspan=&quot;2&quot; valign=&quot;top&quot;&gt;(?:.+?)&lt;/a&gt;[^A-Z]+(.+?).[ $]+&lt;/p&gt;</expression>
		</RegExp>
	</GetMoviePlot>

	<GetMovieCritic clearbuffers="no" dest="5">
		<RegExp input="$$4" output="\n\n:: CRITICA ::\1" dest="11">
			<RegExp input="$$1" output="\n\n\1 - \2 (\3)\n\n\4" dest="4">
				<expression repeat="yes" cs="true" noclean="1,2,3" trim="4">&lt;h2&gt;&lt;a href=&quot;[^&quot;]+&quot; title=&quot;([^&quot;]+)&quot;&gt;\1&lt;/a&gt;&lt;/h2&gt;[^&gt;]+&gt;[^a-z]+([^&lt;]+)&lt;em&gt;([^&lt;]+)&lt;/em&gt;[^A-Z]+([^&lt;]+)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetMovieCritic>

	<GetMoviePublic clearbuffers="no" dest="5">
		<RegExp input="$$4" output="\n\n:: PUBBLICO ::\1" dest="12">
			<RegExp input="$$1" output="\n\n\1 stelle - \2\n\n\3" dest="4">
				<expression repeat="yes" noclean="1,2" trim="3">&lt;img style=&quot;margin-right:5px;&quot; src=&quot;[^&quot;]+&quot;[^0-9]+([0-9])[^=]+=&quot;[^&gt;]+&gt;([^&lt;]+)(?:.+?)&lt;div id=&quot;parziale[0-9]+&quot; class=&quot;linkrosa&quot; style=&quot;color:\#333333; margin-right:10px; margin-bottom:10px;&quot;&gt;[^&gt;]+&gt;[^A-Za-z]([^&lt;]+)&lt;</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetMoviePublic>

	<GetMovieForum clearbuffers="no" dest="5">
		<RegExp input="$$4" output="\n\n:: FORUM ::\1" dest="13">
			<RegExp input="$$1" output="\n\n\1 stelle - \2\n\n\3" dest="4">
				<expression repeat="yes" noclean="1,2" trim="3">&lt;img style=&quot;margin-right:5px;&quot; src=&quot;[^&quot;]+&quot;[^0-9]+([0-9])[^=]+=&quot;[^&gt;]+&gt;([^&lt;]+)(?:.+?)&lt;div id=&quot;parziale[0-9]+&quot; class=&quot;linkrosa&quot; style=&quot;color:\#333333; margin-right:10px; margin-bottom:10px;&quot;&gt;[^&gt;]+&gt;[^A-Za-z]([^&lt;]+)&lt;</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetMovieForum>

	<GetMovieFrasiCelebri clearbuffers="no" dest="6">
		<RegExp input="$$4" output="\n\n:: FRASI CELEBRI ::\1" dest="14">
			<RegExp input="$$1" output="\n\n\1 (\2)\n\n\3" dest="4">
				<expression noclean="1" trim="3">&lt;td class=&quot;linkblu&quot; valign=&quot;top&quot; style=&quot;font-weight:bold; font-size:12px&quot;&gt;[^A-Z]+([^\(]+) \(([^\(]+)\)(?:.+?)&lt;strong class=&quot;rec_lancio&quot; &gt;(.+?)&lt;/strong&gt;</expression>
			</RegExp>
			<RegExp input="$$1" output="\n\n\1 (\2)\n\n\3" dest="4+">
				<expression repeat="yes" noclean="1" trim="1,3">&lt;td valign=&quot;top&quot; style=&quot;font-weight:bold; font-size:12px&quot;&gt;[^A-Z]+([^\(]+)\(([^\)]+)\)(?:.+?)&lt;td valign=&quot;top&quot; style=&quot;font-size:12px&quot;&gt;[^A-Za-z]+(.+?)&lt;/td&gt;</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetMovieFrasiCelebri>

	<AppendToPlot clearbuffers="no" dest="5">
		<RegExp input="$$10$$11$$12$$13$$14" output="&lt;details&gt;&lt;plot&gt;\1&lt;/plot&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</AppendToPlot>

</scraper>
