<?xml version="1.0" encoding="UTF-8"?>
<scraper framework="1.1" date="2009-12-11" name="M1905" content="movies" thumb="M1905.jpg" language="zh">
	<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 Fanart&quot; type=&quot;bool&quot; id=&quot;fanart&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="&lt;url&gt;\1&lt;/url&gt;" dest="3">
			<expression clear="yes" noclean="1">(http://www.m1905.com/film/[0-9]*\.shtml)</expression>
		</RegExp>
	</NfoUrl>
	<CreateSearchUrl dest="3" SearchStringEncoding="UTF-8">
		<RegExp input="$$1" output="&lt;url&gt;http://www.m1905.com/search/?type=film&amp;amp;q=\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 - \3&lt;/title&gt;&lt;url&gt;http://www.m1905.com/film/\1.shtml&lt;/url&gt;&lt;id&gt;\1&lt;/id&gt;&lt;/entity&gt;" dest="5+">
				<expression repeat="yes" noclean="1">&lt;a href=&quot;film/([0-9]*?).shtml&quot; target=&quot;_blank&quot; class=&quot;red14link&quot;&gt;《(.*?)》&lt;/a&gt;.*?class=&quot;blue14&quot;&gt;(.*?)&lt;/a&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="$$2" output="&lt;id&gt;\1&lt;/id&gt;" dest="5">
				<expression/>
			</RegExp>
			<RegExp input="$$1" output="&lt;title&gt;\1&lt;/title&gt;" dest="5+">
				<expression trim="1" noclean="1">&lt;span style=&quot;font-size:25px; color:#505050; font-weight:bold;&quot;&gt;《(.*?)》&lt;/span&gt;</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;year&gt;\1&lt;/year&gt;" dest="5+">
				<expression>上映日期：&lt;span class=&quot;blue12font&quot; style=&quot;color: #505050&quot;&gt;([0-9]*)</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;runtime&gt;\1&lt;/runtime&gt;" dest="5+">
				<expression trim="1">片长：&lt;span class=&quot;blue12font&quot; style=&quot;color: #505050&quot;&gt;([^&lt;]*)&lt;</expression>
			</RegExp>
			<RegExp input="$$2" output="&lt;url cache=&quot;$$2-rating.html&quot; function=&quot;GetRating&quot;&gt;http://www.m1905.com/list.php?catid=157&amp;amp;movieid=$$2&amp;amp;mydo=ajax&amp;amp;action_ajax=show&amp;amp;&lt;/url&gt;" dest="5+">
				<expression/>
			</RegExp>
			<RegExp input="$$1" output="\1" dest="6">
				<expression clear="yes" noclean="1">类型：&lt;span class=&quot;blue12font&quot; style=&quot;color: #505050&quot;&gt;([^&lt;]*)&lt;</expression>
			</RegExp>
			<RegExp input="$$6" output="&lt;genre&gt;\1&lt;/genre&gt;" dest="5+">
				<expression repeat="yes">([^ ]*) </expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;studio&gt;\1&lt;/studio&gt;" dest="5+">
				<expression>发行公司：&lt;span class=&quot;blue12font&quot; style=&quot;color: #505050&quot;&gt;([^&lt;]*)&lt;</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;outline&gt;\1&lt;/outline&gt;&lt;plot&gt;\1&lt;/plot&gt;" dest="5+">
				<expression>剧情简介 &lt;/li&gt;.*?class=&quot;hui5012font&quot;&gt;(.*?)\n</expression>
			</RegExp>
			<RegExp input="$$2" output="&lt;url cache=&quot;$$2-plot.html&quot; function=&quot;GetPlot&quot;&gt;http://www.m1905.com/list.php?catid=105&amp;amp;contentid=$$2&lt;/url&gt;" dest="5+">
				<expression/>
			</RegExp>
			<RegExp input="$$2" output="&lt;url cache=&quot;$$2-fullcredits.html&quot; function=&quot;GetFullcredits&quot;&gt;http://www.m1905.com/list.php?catid=109&amp;amp;contentid=$$2&lt;/url&gt;" dest="5+">
				<expression/>
			</RegExp>
			<RegExp input="$$2" output="&lt;url cache=&quot;$$2-posters.html&quot; function=&quot;GetM1905Poster&quot;&gt;http://www.m1905.com/list.php?catid=127&amp;amp;contentid=$$2&lt;/url&gt;" dest="5+">
				<expression/>
			</RegExp>
			<RegExp conditional="fanart" input="$$2" output="&lt;url cache=&quot;$$2-fanart.html&quot; function=&quot;GetM1905Fanart&quot;&gt;http://www.m1905.com/list.php?catid=119&amp;amp;contentid=$$2&lt;/url&gt;" dest="5+">
				<expression/>
			</RegExp>
			<expression noclean="1"/>
		</RegExp>
	</GetDetails>	
	<GetRating clearbuffers="no" dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;rating&gt;\2&lt;/rating&gt;&lt;votes&gt;\1&lt;/votes&gt;" dest="2">
				<expression clear="yes">([0-9]*)\|([0-9]*)\|</expression>
			</RegExp>
			<expression noclean="1"/>
		</RegExp>
	</GetRating>
	<GetPlot 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;div id=&quot;gut_center_center_down&quot; class=&quot;hui34343412font&quot;&gt;(.*?)&lt;/div&gt;</expression>
			</RegExp>
			<expression noclean="1"/>
		</RegExp>
	</GetPlot>
	<GetFullcredits dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="6">
				<expression clear="yes" noclean="1">演员 Actor：.*?class=&quot;hui5012font&quot;&gt;(.*?)&lt;/div&gt;</expression>
			</RegExp>
			<RegExp input="$$6" output="&lt;actor&gt;&lt;thumb&gt;&lt;/thumb&gt;&lt;name&gt;\1&lt;/name&gt;&lt;role&gt;&lt;/role&gt;&lt;/actor&gt;" dest="2">
				<expression clear="yes" repeat="yes" trim="1">margin-left:10px;&quot;&gt;(.*?)&lt;/li&gt;</expression>
			</RegExp>
			<RegExp input="$$1" output="\1" dest="8">
				<expression clear="yes" noclean="1">导演 Director：(.*?)&lt;/ul&gt;</expression>
			</RegExp>
			<RegExp input="$$8" output="&lt;director&gt;\1&lt;/director&gt;" dest="2+">
				<expression repeat="no" trim="1">&lt;li&gt;([^&lt;]*)&lt;</expression>
			</RegExp>
			<RegExp input="$$1" output="\1" dest="9">
				<expression clear="yes" noclean="1">编剧 Writer：(.*?)&lt;/ul&gt;</expression>
			</RegExp>
			<RegExp input="$$9" output="&lt;credits&gt;\1&lt;/credits&gt;" dest="2+">
				<expression repeat="no" trim="1">&lt;li&gt;([^&lt;]*)&lt;</expression>
			</RegExp>
			<expression noclean="1"/>
		</RegExp>
	</GetFullcredits>
	<GetM1905Poster dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="6">
				<expression clear="yes" noclean="1">--中间内容开始--(.*?)--中间内容结束--</expression>
			</RegExp>
			<RegExp input="$$6" output="&lt;thumb&gt;http://www.m1905.com/\1\2&lt;/thumb&gt;" dest="2">
				<expression repeat="yes" noclean="1">(uploadfile/[0-9]+/[0-9]+/)thumb_[0-9]+_[0-9]+_([0-9]+\.jpg)</expression>
			</RegExp>
			<expression noclean="1"/>
		</RegExp>
	</GetM1905Poster>
	<GetM1905Fanart dest="5">
		<RegExp input="$$11" output="&lt;details&gt;&lt;fanart url=&quot;http://www.m1905.com/&quot;&gt;\1&lt;/fanart&gt;&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;thumb preview=&quot;\1\2\3&quot;&gt;\1\3&lt;/thumb&gt;" dest="11">
				<expression clear="yes" repeat="yes" noclean="1,2,3">&lt;a href=&quot;film/photo/still/[^&lt;]*&lt;img src=&quot;(uploadfile/[0-9]+/[0-9]+/)(thumb_[0-9]+_[0-9]+_)([0-9]+\.jpg)</expression>
			</RegExp>
			<expression noclean="1"/>
		</RegExp>
	</GetM1905Fanart>
</scraper>
