<?xml version="1.0" encoding="UTF-8"?>
<scraper framework="1.0" date="2009-10-04" name="Sratim" content="movies" thumb="sratim.gif" language="he">
	<include>common/tmdb.xml</include>
	<include>common/imdb.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;Enable Full Cast Credits&quot; type=&quot;bool&quot; id=&quot;fullcredits&quot; default=&quot;false&quot;&gt;&lt;/setting&gt;" dest="5">
				<expression/>
			</RegExp>
			<RegExp input="$$1" output="&lt;setting label=&quot;Enable 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;Enable Fanart&quot; type=&quot;bool&quot; id=&quot;fanart&quot; default=&quot;false&quot;&gt;&lt;/setting&gt;" dest="5+">
				<expression/>
			</RegExp>
			<RegExp input="$$1" output="&lt;setting label=&quot;Get Rank From IMDB&quot; type=&quot;bool&quot; id=&quot;imdbrank&quot; default=&quot;false&quot;&gt;&lt;/setting&gt;" dest="5+">
				<expression/>
			</RegExp> 
			<expression noclean="1"/>
		</RegExp>
	</GetSettings>
	<CreateSearchUrl dest="3">
		<RegExp input="$$1" output="&lt;url&gt;http://www.sratim.co.il/movies/search.aspx?Keyword=\1&lt;/url&gt;" 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">
			<RegExp input="$$1" output="&lt;entity&gt;&lt;title&gt;\2&lt;/title&gt;&lt;url&gt;http://www.sratim.co.il/\1&lt;/url&gt;&lt;/entity&gt;" dest="5">
				<expression clear="yes" noclean="1" repeat="yes">&lt;table class="MovieViews".*?&gt;.*?&lt;a href="(.[^"]*)"&gt;(.*?)&lt;div&gt;.*?&lt;/table&gt;</expression>
			</RegExp>
			<expression clear="yes" noclean="1"/>
		</RegExp>
	</GetSearchResults>
	<GetDetails dest="3">
		<RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="3">
			<RegExp input="$$1" output="&lt;title&gt;\1&lt;/title&gt;" dest="5+">
				<expression trim="1" noclean="1">&lt;div.*?class="Box_Header"&gt;&lt;table.*?&gt;&lt;tr&gt;&lt;td.*?&gt;(.*?)&lt;/td&gt;</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;plot&gt;\1&lt;/plot&gt;" dest="5+">
				<expression trim="1">&lt;u&gt;תקציר:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;(.*?)&lt;/div&gt;</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;genre&gt;\1&lt;/genre&gt;" dest="5+">
				<expression trim="1" repeat="yes">&lt;a href="/movies/search.aspx\?g=.*?"&gt;(.*?)&lt;/a&gt;</expression>
			</RegExp>
			<RegExp input="$$1" output="\1" dest="7">
				<expression repeat="no" noclean="1">&lt;b&gt;שחקנים:&lt;/b&gt;(.*?)&lt;br /&gt;</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;studio&gt;\1&lt;/studio&gt;" dest="5+">
				<expression trim="1" repeat="yes">&lt;a href="/movies/companies/view.aspx\?id=.*?"&gt;(.*?)&lt;/a&gt;</expression>
			</RegExp>
			<RegExp input="$$7" output="&lt;actor&gt;&lt;name&gt;\1&lt;/name&gt;&lt;/actor&gt;" dest="5+">
				<expression trim="1" repeat="yes">&lt;a href="/movies/actors/view.aspx\?id=.*?&quot;&gt;(.*?)&lt;/a&gt;</expression>
			</RegExp>
			<RegExp conditional="fullcredits" input="$$7" output="&lt;url function=&quot;GetActorDetails&quot;&gt;http://www.sratim.co.il/movies/actors/view.aspx?id=\1&lt;/url&gt;" dest="5+">
				<expression repeat="yes">&lt;a href="/movies/actors/view.aspx\?id=(.*?)"&gt;</expression>
			</RegExp>
			<RegExp input="$$1" output="\1" dest="7">
				<expression repeat="no" noclean="1">&lt;b&gt;במאי:&lt;/b&gt;(.*?)&lt;br /&gt;</expression>
			</RegExp>
			<RegExp input="$$7" output="&lt;director&gt;\1&lt;/director&gt;" dest="5+">
				<expression trim="1" repeat="yes">&lt;a href="/movies/actors/view.aspx\?id=.*?"&gt;(.*?)&lt;/a&gt;</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;year&gt;\1&lt;/year&gt;" dest="5+">
				<expression trim="1">&lt;span id="ctl00_ctl00_Body_Body_Box_ProductionYear"&gt;(.*?)&lt;/span&gt;</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;rating&gt;\1&lt;/rating&gt;" dest="5+" conditional="!imdbrank">
				<expression trim="1" repeat="no">&lt;img alt="(.*?)/10" src="/Images/Star_Big_.*?.gif" /&gt;</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;votes&gt;\1&lt;/votes&gt;" dest="5+" conditional="!imdbrank">
				<expression trim="1" repeat="no">&lt;span.*?&gt;([0-9]+?) מדרגים&lt;/span&gt;</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;runtime&gt;\1&lt;/runtime&gt;" dest="5+">
				<expression trim="1" repeat="no">&lt;b&gt;אורך:&lt;/b&gt; ([0-9]+?) דקות.</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;thumb&gt;http://www.sratim.co.il\1&lt;/thumb&gt;" dest="5+">
				<expression trim="1" repeat="no">&lt;img src="(/movies/images/.*?)" id="ctl00_ctl00_Body_Body_Box_MainPicture"</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;url function=&quot;GetIMDBDetails&quot;&gt;http://www.imdb.com/title/\1/&lt;/url&gt;" dest="5+">
				<expression trim="1" repeat="no">http://www\.imdb\.com/title/(tt\d+?)'</expression>
			</RegExp>
			<RegExp conditional="imdbrank" input="$$1" output="&lt;rating&gt;\1&lt;/rating&gt;" dest="5+">
				<expression trim="1" repeat="no">&lt;img alt="([0-9]+\.[0-9]*)/10" src="/Images/Star_IMDB</expression>
			</RegExp>
			<RegExp conditional="imdbrank" input="$$1" output="&lt;votes&gt;\1&lt;/votes&gt;" dest="5+">
				<expression trim="1" repeat="no">Star_IMDB.*?&lt;span.*?&gt;([0-9]+?) מדרגים&lt;/span&gt;</expression>
			</RegExp>
			<RegExp conditional="fanart" input="$$1" output="&lt;url function=&quot;GetTMDBFanartById&quot;&gt;http://www.imdb.com/title/\1&lt;/url&gt;" dest="5+">
				<expression trim="1" repeat="no">http://www\.imdb\.com/title/(tt\d+?)'</expression>
			</RegExp>
			<expression noclean="1"/>
		</RegExp>
	</GetDetails>
	<GetActorDetails 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;thumb&gt;http://www.sratim.co.il\2&lt;/thumb&gt;&lt;/actor&gt;" dest="2+">
				<expression clear="yes" repeat="no">&lt;div class=&quot;Box_Header&quot;&gt;.*?&lt;span.*?&gt;(.*?)&lt;/span&gt;.*?&lt;div class=&quot;Box_Body&quot;&gt;.*?&lt;img.*?src=&quot;(/movies/Actors/Images/.*?)&quot; /&gt;</expression>
			</RegExp>
			<expression noclean="1"/>
		</RegExp>
	</GetActorDetails>
	<GetIMDBDetails dest="5">
		<RegExp input="$$3" output="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; standalone=&quot;yes&quot;?&gt;&lt;details&gt;\1&lt;/details&gt;" dest="5+">
			<RegExp conditional="trailer" input="$$1" output="&lt;url function=&quot;GetIMDBTrailer&quot;&gt;http://akas.imdb.com/video/imdb/vi\1/player&lt;/url&gt;" dest="3+">
				<expression>/vi([0-9]*)/&quot;</expression>
			</RegExp>
			<expression noclean="1"/>
		</RegExp>
	</GetIMDBDetails>
</scraper>
