2008-11-03, 16:39
spiff Wrote:use an expression that clears a buffer IF you find animation. let this buffer hold the function call. clear if expression matches. append the buffer. problem solved.
I have tried it but....
If I write this:
Code:
<RegExp conditional="SearchCastThumb" input="$$1" output="<url function="SearchCastThumb">http://spanish.imdb.com/find?s=nm&amp;q=\1</url>" dest="5+">
<expression repeat="yes" noclean="1" trim="1"><a href="search\.php.stype=cast.stext=([^"]*)[^>]*>([^<]*)</expression>
</RegExp>
it works, but if I change dest="5+" with dest="9+" then the scraper don't call the function. I know because if dest="5+" the log has this:
Get URL: http://spanish.imdb.com/find?s=nm&q=Mar%...E9+Baus%E1
but with 9+ it isn't
why?
thanks