+<scraperfunctions>
+ <GetHDTrailersnet480p dest="3">
+ <RegExp input="$$6" output="<details><url function="Parse480pTrailer">http://www.hd-trailers.net/blog/?s="\1%20%28Theatrical%20Trailer%29%22</url</details>" dest="3">
+ <RegExp input="$$1" output="\1" dest="6">
+ <expression noclean="1" fixchars="1" trim="1" encode="1">(.*)</expression>
+ </RegExp>
+ <expression noclean="1" />
+ </RegExp>
+ </GetHDTrailersnet480p>
+ <GetHDTrailersnet720p dest="3">
+ <RegExp input="$$6" output="<details><url function="Parse720pTrailer">http://www.hd-trailers.net/blog/?s="\1%20%28Theatrical%20Trailer%29%22</url</details>" dest="3">
+ <RegExp input="$$1" output="\1" dest="6">
+ <expression noclean="1" fixchars="1" trim="1" encode="1">(.*)</expression>
+ </RegExp>
+ <expression noclean="1" />
+ </RegExp>
+ </GetHDTrailersnet720p>
+ <GetHDTrailersnet1080p dest="3">
+ <RegExp input="$$6" output="<details><url function="Parse1080pTrailer">http://www.hd-trailers.net/blog/?s="\1%20%28Theatrical%20Trailer%29%22</url</details>" dest="3">
+ <RegExp input="$$1" output="\1" dest="6">
+ <expression noclean="1" fixchars="1" trim="1" encode="1">(.*)</expression>
+ </RegExp>
+ <expression noclean="1" />
+ </RegExp>
+ </GetHDTrailersnet1080p>
+ <Parse480pTrailer dest="5">
+ <!--Fetch 480p trailer link from hdtrailers.net-->
+ <RegExp input="$$1" output="<details><trailer>http://playlist.yahoo.com/makeplaylist.dll?sdm=web&pt=rd&sid=\1</trailer></details>" dest="5">
+ <expression noclean="1">sid=(\d*)">480p</a></expression>
+ </RegExp>
+ </Parse480pTrailer>
+ <Parse720pTrailer dest="5">
+ <RegExp input="$$6" output="<details><trailer>\1</trailer></details>" dest="5">
+ <!--Fallback to fetch 480p trailer link if 720p is not available-->
+ <RegExp input="$$1" output="http://playlist.yahoo.com/makeplaylist.dll?sdm=web&pt=rd&sid=\1" dest="6">
+ <expression noclean="1">sid=(\d*)">480p</a></expression>
+ </RegExp>
+ <!--Fetch 720p trailer link from hdtrailers.net-->
+ <RegExp input="$$1" output="http://playlist.yahoo.com/makeplaylist.dll?sdm=web&pt=rd&sid=\1" dest="6">
+ <expression noclean="1">sid=(\d*)">720p</a></expression>
+ </RegExp>
+ <expression noclean="1" />
+ </RegExp>
+ </Parse720pTrailer>
+ <Parse1080pTrailer dest="5">
+ <RegExp input="$$6" output="<details><trailer>\1</trailer></details>" dest="5">
+ <!--Fallback to fetch 480p trailer link if 720p and 1080p are not available-->
+ <RegExp input="$$1" output="http://playlist.yahoo.com/makeplaylist.dll?sdm=web&pt=rd&sid=\1" dest="6">
+ <expression noclean="1">sid=(\d*)">480p</a></expression>
+ </RegExp>
+ <!--Fallback to fetch 720p trailer link if 1080p is not available-->
+ <RegExp input="$$1" output="http://playlist.yahoo.com/makeplaylist.dll?sdm=web&pt=rd&sid=\1" dest="6">
+ <expression noclean="1">sid=(\d*)">720p</a></expression>
+ </RegExp>
+ <!--Fetch 1080p trailer link from hdtrailers.net-->
+ <RegExp input="$$1" output="http://playlist.yahoo.com/makeplaylist.dll?sdm=web&pt=rd&sid=\1" dest="6">
+ <expression noclean="1">sid=(\d*)">1080p</a></expression>
+ </RegExp>
+ <expression noclean="1" />
+ </RegExp>
+ </Parse1080pTrailer>
+</scraperfunctions>