<?xml version="1.0" encoding="UTF-8"?>
<scraper framework="1.0" date="2009-05-22" name="IsraelMusic" content="albums" thumb="israel-music.png" language="he">
	<NfoUrl dest="3">
		<RegExp input="$$1" output="\1/" dest="3">
			<expression>(http://he.israel-music.com.*)</expression>
		</RegExp>
	</NfoUrl>
	<CreateAlbumSearchUrl dest="3">
		<RegExp input="$$1" output='http://he.israel-music.com/search/\1/' dest="3">
			<expression/>
		</RegExp>
		<RegExp input="$$2%20$$1" output='http://he.israel-music.com/search/\1/' dest="3">
			<expression/>
		</RegExp>
	</CreateAlbumSearchUrl>
	<GetAlbumSearchResults dest="8">
		<RegExp input="$$5" output="&lt;results&gt;\1&lt;/results&gt;" dest="8">
			<RegExp input="$$1" output='&lt;entity&gt;&lt;url&gt;http://he.israel-music.com\1&lt;/url&gt;&lt;title&gt;\2&lt;/title&gt;&lt;/entity&gt;' dest="5+">
				<expression repeat="yes" noclean='1,2'><![CDATA[<strong><a dir="rtl" href="(.[^"]*)">(.[^<]*)</a>]]></expression>
			</RegExp>
			<RegExp input="$$1" output='&lt;entity&gt;&lt;url&gt;http://he.israel-music.com\1&lt;/url&gt;&lt;title&gt;\2&lt;/title&gt;&lt;artist&gt;\4&lt;/artist&gt;&lt;year&gt;\5&lt;/year&gt;&lt;/entity&gt;' dest="5+">
				<expression repeat="yes" noclean='1,3,4,5'><![CDATA[<strong><a dir="rtl" href="(.[^"]*)">(.*?)</a> - <a dir="rtl" href="(.[^"]*)">(.[^<]*)</a> <span>([0-9]*)</span></strong>]]></expression>
			</RegExp>
			<expression noclean="1"/>
		</RegExp>		
	</GetAlbumSearchResults>
 	<GetAlbumDetails 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 noclean="1"><![CDATA[<h1>(.[^<]*)</h1>]]></expression>
			</RegExp>
		<RegExp input="$$1" output="&lt;artist&gt;\1&lt;/artist&gt;" dest="5+">
				<expression noclean="1"><![CDATA[</span><a.[^>]*>(.[^<]*)</a>]]></expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;review&gt;\1&lt;/review&gt;" dest="5+">
				<expression><![CDATA[<ul id="details".[^>]*>(.*)</ul>.[^<]*<p style="clear:both">]]></expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;thumb&gt;\1&lt;/thumb&gt;" dest="5+">
				<expression noclean="1"><![CDATA[id="imagef" src="(.[^"]*)"]]></expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;year&gt;\1&lt;/year&gt;" dest="5+">
				<expression noclean="1"><![CDATA[<li><b>שנה: </b> ([0-9]+)</li>]]></expression>
			</RegExp>
			<RegExp input="$$1" output="\1" dest="6">
				<expression noclean="1"><![CDATA[<li><b>ז'אנר:</b>(.*)</li>]]></expression>
			</RegExp>
			<RegExp input="$$6" output="&lt;genre&gt;\1&lt;/genre&gt;" dest="5+">
				<expression noclean="1" repeat="yes"><![CDATA[<a.[^>]*">(.[^<]*)</a>]]></expression>
			</RegExp>
			<expression noclean="1"/>
		</RegExp> 
	</GetAlbumDetails> 
</scraper>
