<scraperfunctions>
	<GetIMDBThumbs dest="5">
		<RegExp input="$$6" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1_SX$INFO[imdbscale]_SY$INFO[imdbscale]_\2" dest="4">
				<expression noclean="1,2">&lt;a name=&quot;poster&quot;.*?src=&quot;(.*?)_S.*?(.jpg)&quot;.*?&lt;/a&gt;</expression>
			</RegExp>
			<RegExp input="$$4" output="&lt;thumb&gt;\1&lt;/thumb&gt;" dest="6">
				<expression noclean="1">(.*?_SX[0-9]+_SY[0-9]+_.jpg)</expression>
			</RegExp>
			<expression noclean="1"/>
		</RegExp>
	</GetIMDBThumbs>
	<GetIMDBTrailer dest="5">
		<RegExp input="$$2" output="&lt;details&gt;&lt;trailer urlencoded=&quot;yes&quot;&gt;\1&lt;/trailer&gt;&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="2">
				<expression noclean="1">&quot;file&quot;[^&quot;]*&quot;([^&quot;]*)</expression>
			</RegExp>
			<RegExp input="$$1" output="$$2/\1" dest="2">
				<expression noclean="1">&quot;id&quot;[^&quot;]*&quot;([^&quot;]*)</expression>
			</RegExp>
			<expression noclean="1"/>
		</RegExp>
	</GetIMDBTrailer>
	<GetIMDBWriters dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp conditional="!fullcredits" input="$$1" output="\1" dest="6">
				<expression noclean="1">Writers?\:(.*?)&lt;/div&gt;</expression>
			</RegExp>
			<RegExp conditional="fullcredits" input="$$1" output="\1" dest="6">
				<expression noclean="1">Writing credits(.*?)name=&quot;</expression>
			</RegExp>
			<RegExp input="$$6" output="&lt;credits&gt;\1&lt;/credits&gt;" dest="2+">
				<expression fixchars="1" repeat="yes">/name/[^&gt;"]*"&gt;([^&lt;]*)&lt;</expression>
			</RegExp>
			<expression noclean="1"/>
		</RegExp>
	</GetIMDBWriters>
	<GetIMDBCast dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp conditional="!fullcredits" input="$$1" output="\1" dest="6">
				<expression noclean="1">&lt;table class="cast_list"&gt;(.*?)&lt;/table&gt;</expression>
			</RegExp>
			<RegExp conditional="fullcredits" input="$$1" output="\1" dest="6">
				<expression noclean="1">&lt;table class="cast"&gt;(.*?)&lt;/table&gt;</expression>
			</RegExp>
			<RegExp input="$$6" output="&lt;actor&gt;&lt;thumb&gt;\1&lt;/thumb&gt;&lt;name&gt;\2&lt;/name&gt;&lt;role&gt;\3 \4&lt;/role&gt;&lt;/actor&gt;" dest="2+">
				<expression fixchars="2,3,4" clear="yes" repeat="yes" noclean="1" trim="2,3,4">src="([^"]*\.(?:jpg|png))".*?&lt;td class="name"&gt;(.*?)&lt;/td&gt;.*?&lt;td class="character"&gt;.*?&lt;div&gt;\n([^\n]*)\n(.*?)&lt;/div&gt;.*?&lt;/td&gt;</expression>
			</RegExp>
<!--
			<RegExp input="$$7" output="&lt;actor&gt;&lt;thumb&gt;\1&lt;/thumb&gt;\2&lt;/actor&gt;" dest="2+">
				<expression clear="yes" repeat="yes" noclean="1,2,3">&lt;actor&gt;&lt;thumb&gt;(?:(http.*?)|_SX[0-9]+_SY[0-9]+_)&lt;/thumb&gt;(.*?)&lt;/actor&gt;</expression>
			</RegExp>
-->
			<expression noclean="1"/>
		</RegExp>
	</GetIMDBCast>
	<GetIMDBDirectors dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp conditional="!fullcredits" input="$$1" output="\1" dest="6">
				<expression clear="yes" noclean="1">Directors?\:(.*?)&lt;/div&gt;</expression>
			</RegExp>
			<RegExp conditional="fullcredits" input="$$1" output="\1" dest="6">
				<expression clear="yes" noclean="1">Directed by(.*?)&lt;/table&gt;</expression>
			</RegExp>
			<RegExp input="$$6" output="&lt;director&gt;\1&lt;/director&gt;" dest="2+">
				<expression clear="yes" repeat="yes" fixchars="1">/name/[^&gt;"]*"&gt;([^&lt;]*)&lt;</expression>
			</RegExp>
			<expression noclean="1"/>
		</RegExp>
	</GetIMDBDirectors>
	<GetIMDBPlot dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;plot&gt;\1&lt;/plot&gt;" dest="2">
				<expression clear="yes">&lt;p class="plotpar"&gt;\n([^\n]*)</expression>
			</RegExp>
			<expression noclean="1"/>
		</RegExp>
	</GetIMDBPlot>
</scraperfunctions>
