2010-06-09, 08:06
See Ticket #9367
Code:
<?xml version="1.0" encoding="utf-8"?><scraper framework="1.1" date="2010-06-09" name="AEBN.net" content="movies" thumb="aebn.jpg" language="en">
<GetSettings dest="3">
<RegExp input="$$5" output="<settings>\1</settings>" dest="3">
<RegExp input="$$1" output="<setting label="Use Series Name As Movie Set" type="bool" default="false" id="movieset"></setting>" dest="5">
<expression />
</RegExp>
<RegExp input="$$1" output="<setting label="Get Actor/Actress Images?" type="bool" default="false" id="actorthumbs"></setting>" dest="5+">
<expression />
</RegExp>
<RegExp input="" output="<setting label="Use Alternative URL" type="labelenum" default="theater.aebn.net" values="theater.aebn.net|www.freeonesondemand.com|vod.adultemart.com|dvd.sexyshare.net" id="url"></setting>" dest="5+">
<expression />
</RegExp>
<expression noclean="1" />
</RegExp>
</GetSettings>
<CreateSearchUrl dest="3">
<RegExp input="$$5" output="<url>\1</url>" dest="3">
<RegExp input="$$6" output="http://$INFO[url]/dispatcher/fts?userQuery=\1&theaterId=822&targetSearchMode=basic&isSearchCriteriaReset=true&searchType=movie&count=120&imageType=Large&sortType=Relevance" dest="5">
<RegExp input="$$1" output="\1+\2" dest="6">
<expression repeat="yes">(.*?)\%20([^(?:\%20)]*)</expression>
</RegExp>
<expression />
</RegExp>
<expression noclean="1" />
</RegExp>
</CreateSearchUrl>
<GetSearchResults dest="3">
<RegExp input="$$5" output="<results>\1</results>" dest="3">
<RegExp input="$$1" output="<entity><title>\2</title><id>\1</id><url>http://$INFO[url]/dispatcher/movieDetail?movieId=\1&tab=Description&theaterId=822</url><thumb>\3</thumb></entity>" dest="5">
<expression repeat="yes" trim="1,2,3,4" noclean="1,4"><a id="FTSMovieSearch_link_image_detail_[0-9]+" href="/dispatcher/movieDetail\?movieId=([0-9+]*)?&amp;theaterId=822" title="([^\"]+)"><img src="(http://pic.aebn.net/Stream/Movie/Boxcovers/[^\"]+)" alt="Box Cover" /></a></expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</GetSearchResults>
<GetDetails dest="12">
<RegExp input="$$5" output="<details>\1</details>" dest="12">
<RegExp input="$$1" output="<title>\1</title>" dest="5">
<expression trim="1"><div class="movieDetailTitle">(.*?)</div></expression>
</RegExp>
<RegExp input="$$2" output="<id>\1</id><thumb spoof="http://$INFO[url]">http://pic.aebn.net/Stream/Movie/Boxcovers/a\1_xlf.jpg</thumb><thumb spoof="$INFO[url]">http://pic.aebn.net/Stream/Movie/Boxcovers/a\1_xlb.jpg</thumb>" dest="5+">
<expression />
</RegExp>
<RegExp input="$$1" output="<runtime>\1</runtime>" dest="5+">
<expression><div class="detailsLabel">Running Time:</div>\n[\s]*<div class="runTime">([^<]*)</div></expression>
</RegExp>
<RegExp input="$$1" output="<premiered>\1</premiered><year>\2\3</year>" dest="5+">
<expression><div class="detailsLabel">Released:</div>[\s]*<div class="detailsLink">([0-9]{0,2}/*[0-9]{1,2}/([0-9]{4})|([0-9]{0,4}))</div></expression>
</RegExp>
<RegExp input="$$1" output="<studio>\1</studio>" dest="5+">
<expression trim="1"><div class="detailsLabel">Studio:</div>[\s]*?<div class="detailsLink">[\s]*?<a href="/dispatcher/studioDetail\?theaterId=822&amp;studioId=[0-9]*">([^<]*)</a></expression>
</RegExp>
<RegExp input="$$1" output="<director>\1</director>" dest="5+">
<expression><div class="detailsLabel">Director:</div>[\s]*<div class="detailsLink">\n[\s]*<a href="/dispatcher/movieSearch\?directorId=[0-9]*&amp;theaterId=822">([^<]*)</a>&</expression>
</RegExp>
<RegExp conditional="movieset" input="$$1" output="<set>\1</set>" dest="5+">
<expression trim="1"><div class="detailsLabel">Series:</div>[\s]*<div class="detailsLink"><a href="/dispatcher/movieSearch\?theaterId=822&amp;seriesId=[0-9]*" class="series">([^<]*)</a></expression>
</RegExp>
<RegExp input="$$7" output="<genre>\2</genre>" dest="5+">
<!--copies the genres block to buffer $$7-->
<RegExp input="$$1" output="\1" dest="7">
<expression noclean="1"><div class="detailsLabel">Categories:</div>(.*?)<br class="clear" /></expression>
</RegExp>
<expression repeat="yes" trim="2"><a href="/dispatcher/categoryDetail\?categoryId=([0-9]*).*?\1', \1, event\)" onmouseout="killPopUp\(\)">([^<]*)</a></expression>
</RegExp>
<!--This path handles actors accordint to the "GetMultiple Actor Thumbs-->
<RegExp input="$$7" output="\1" dest="5+">
<!--Copies Actors block to $$8-->
<RegExp input="$$1" output="\1\2" dest="8">
<expression clear="yes" noclean="1,2">(<div class="starsFull detailsLink longDescription">.*?</div>)|(<div class="detailsLabel">Stars:</div>[^<]+<div class="detailsLink shortDescription">.*?</div>)</expression>
</RegExp>
<!--Process actors that have no thumbnails-->
<RegExp input="$$8" output="<actor><name>\2</name></actor>" dest="7">
<expression repeat="yes" clear="yes" trim="2"><a href="/dispatcher/starDetail\?theaterId=822&amp;starId=([0-9]*)" >([^<]*)</a> </expression>
</RegExp>
<RegExp conditional="actorthumbs" input="$$8" output="<url function="GetActorInfo">http://$INFO[url]/dispatcher/starDetail?theaterId=822&amp;starId=\1</url>" dest="7+">
<expression repeat="yes"><a href="/dispatcher/starDetail\?theaterId=822&amp;starId=([0-9]*)" class="linkWithPopup".*?>([^<]*)</a> </expression>
</RegExp>
<RegExp conditional="!actorthumbs" input="$$8" output="<actor><name>\2</name></actor>" dest="7+">
<expression repeat="yes"><a href="/dispatcher/starDetail\?theaterId=822&amp;starId=([0-9]*)" class="linkWithPopup".*?>([^<]*)</a> </expression>
</RegExp>
<expression repeat="yes" noclean="1" />
</RegExp>
<RegExp input="$$1" output="<plot>\2\4</plot>" dest="5+">
<expression trim="2,4">(<div class="movieDetailDescriptionFull longDescription">(.*?)<span class="nowrap_link">)|( <div class="movieDetailDescriptionOnly">(.*?)</div>)</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</GetDetails>
<GetActorInfo dest="3">
<RegExp input="$$5" output="<details>\1</details>" dest="3">
<RegExp input="$$1" output="<actor><name>\1</name></actor>" dest="5">
<expression trim="1"><div class="searchDetailStarName">(.*?) (?:Movies|Scenes)</div></expression>
</RegExp>
<RegExp input="$$6" output="<actor>\1</actor>" dest="5">
<RegExp input="$$1" output="<name>\1</name>" dest="6">
<expression trim="1"><div class="name">([^<]*)</div>\n</expression>
</RegExp>
<RegExp input="$$1" output="<thumb spoof="$INFO[url]">\1</thumb>" dest="6+">
<expression trim="1"><a href="(http://pic.aebn.net/stream/movie/stars/s[0-9]*_i[0-9]*_l.jpg)" target="_blank" title=".*?"></expression>
</RegExp>
<expression trim="1" noclean="1" />
</RegExp>
<expression noclean="1" />
</RegExp>
</GetActorInfo>
</scraper>