hi f0xn3t, thanks a lot for this awesome script, works very well.
I had the same problem as wicked with a few shows like 24 and CSI, but perhaps I found a solution:
in the regexp
Code:
foreach line [split [::http::data $token] "\n"] {
if {[regexp {(<div class=yschabstr>.*</div><em class=yschurl>.*</em>|<em class=yschurl>.*</em> )} $line] } {
I removed the last blank space after |<em class=yschurl>.*</em> (also in the next line).
and it now lists correct results for CSI, CSI Miami and 24. Tried out the search on yahoo and the result page source text does not have any blank after the </em>.
ThanKs again for the script, great job :-)