Thread: EPGuru
View Single Post
Old 01-08-2005, 01:44 PM  
happy123
Junior Member
 
Join Date: Jan 2005
Posts: 1
Default

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 :-)
happy123 is offline   Reply With Quote