2009-09-03, 19:01
a question:
I have this code to get cast name and thumb
how can i do to avoid including thumb when the thumb link is this?
This image has no sense to include because wastes space and it is downloaded every time an actor with no thumb found.
thanks
I have this code to get cast name and thumb
Code:
<GetCastThumb dest="5">
<RegExp input="$$4" output="<details><actor>\1</actor></details>" dest="5">
<RegExp input="$$1" output="<name>\1</name>" dest="4">
<expression noclean="1" clear="yes" trim="1"><title>([^<|^(]*)</expression>
</RegExp>
<RegExp input="$$9" output="<thumb>\1</thumb>" dest="4+">
<RegExp input="$$1" output="\1" dest="9">
<expression noclean="1"><div class="photo">(.*) alt="</expression>
</RegExp>
<expression repeat="yes">img border="0" src="([^=]*.jpg)</expression>
</RegExp>
<expression noclean="1" clear="yes">(.*)</expression>
</RegExp>
</GetCastThumb>
how can i do to avoid including thumb when the thumb link is this?
Code:
http://i.media-imdb.com/images/nophoto.jpg
This image has no sense to include because wastes space and it is downloaded every time an actor with no thumb found.
thanks