Thread: EPGuru
View Single Post
Old 12-18-2004, 08:09 AM  
f0xn3t
Member
 
Join Date: Jul 2004
Posts: 55
Default IMPORTANT UPDATE v3.3.1

ok folks, it's DONE, phew
I spend whole Friday and couple of hours today working on my script. I must say it was harder than I thought, but now I know what was wrong ...and this update should fix all problems, I hope


so, the first problem was in searching of tv shows at epguides.com. The fact is that epguides.com has deleted its own searching script and now uses google.com searching.
It wouldn't be so hard to fix it if google.com had better terms and condition from my point of view -> it means that eggdrop is unable to get search results because he gets Error 302 (Moved; google.com and altavista.com check URL and all "ampersands" change to "&") at first and even if it's succesfully redirected he gets Error 403 (Forbidden). So, there's no way to get rid of this Error 403 in case that I don't want to use any extra files

so, EPGuru uses Yahoo.com search engine and it's possible to use Logical operators like +,-,"", etc..
e.g. "!ep joey +2004" and you get Joey
"!ep joey" and you get Friends ..lol
... but it really depends on yahoo.com, it's not EPGuru bug


..and, the second problem was in 3min epguides.com response delay. This problem took me most of my time.

The situation is that epguides.com probably increased security level of server(s), because it's unable to "PING epguides.com" -> you get Timed-out...
My theory is that $socket in TCL is unable to overcome this problem because $socket probably pings the server before establishing connection... but $socket gets no response approx. for 150sec. ( -> this time is set by default in system, dunno where <- this was written on one developer forum

I thought this project is lost till upcoming v4.0 but suddenly I found one page with this command: "::http::geturl". This command reguires package http 2.0 (at least) but this package should be included in eggdrop, but I'm not 100% sure.

...but the important thing is it works great with epguides.com with NO DELAY. I get response from bot in 3sec


... so, this is my Friday and Saturday story
I hope you'll enjoy it and don't forget to tell your friends about this update

..and please, let me know if there are any problems with ::http:: or "package http 2.0", time-outs or so...

----------------------
Changelog:
- !!! IMPORTANT - Fixed Tvshowsondvd.com news parsing
- !!! IMPORTANT - Fixed Epguides.com searching (epguides.com search engine was deleted, so this script uses yahoo.com search engine (Google.com or Altavista.com can't be used due to terms and conditions))
- !!! IMPORTANT - Fixed approx. 3min delay in epguides.com response (caused by higher security of epguides.com server(s))
----------------------
DOWNLOAD
f0xn3t is offline   Reply With Quote