egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

incith:google :)
Goto page Previous  1, 2, 3 ... 15, 16, 17, 18, 19  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
euphoriac
Voice


Joined: 06 Jul 2006
Posts: 4

PostPosted: Thu Jun 07, 2007 6:32 pm    Post subject: Reply with quote

I'm getting a little problem with searching:

".g apple strudel" or anything else gives:

[11:26pm] <@Passion> Google @ http://www.google.com/webhp?hl=en | Apple Strudel - Allrecipes @ http://allrecipes.com/recipe/apple-strudel/detail.aspx | Strudel - Wikipedia, the free encyclop @ http://en.wikipedia.org/wiki/Strudel | Puff Pastry - Recipe Detail - Apple Str @ http://www.puffpastry.com/recipedetail.aspx?recipeID=23990

That first link shouldn't be there?

Using incith-google.tcl 1.8.7a
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Thu Jun 07, 2007 9:12 pm    Post subject: Reply with quote

euphoriac wrote:
I'm getting a little problem with searching:

".g apple strudel" or anything else gives:

[11:26pm] <@Passion> Google @ http://www.google.com/webhp?hl=en | Apple Strudel - Allrecipes @ http://allrecipes.com/recipe/apple-strudel/detail.aspx | Strudel - Wikipedia, the free encyclop @ http://en.wikipedia.org/wiki/Strudel | Puff Pastry - Recipe Detail - Apple Str @ http://www.puffpastry.com/recipedetail.aspx?recipeID=23990

That first link shouldn't be there?

Using incith-google.tcl 1.8.7a

line 463
Code:
-          regexp -- {<div class=g.*?<a.*?href="(.+?)".*?>(.+?)</a>} $html - link desc
+          regexp -- {<div class=g(?!b).*?<a href="(.+?)".*?>(.+?)</a>} $html - link desc
line 464
Code:
-          regsub -- {<div class=g.*?<a.*?href="(.+?)".*?>(.+?)</a>} $html {} html
+          regsub -- {<div class=g(?!b).*?<a href="(.+?)".*?>(.+?)</a>} $html {} html

This will fix it to remove that annoyance. Conversely, you can read back a few posts in this very thread and find my hacked contribution, which includes this new addition found below, google translations :O
Code:
<speechles> !trans en@fr hi french people how are you today?
<sp33chy> Google says: (en->fr) salut les français comment allez vous aujourd'hui ?
<speechles> !trans en@it hi italians. what's up?
<sp33chy> Google says: (en->it) ciao italiani. che cosa è in su?

.:edit:. Seems for celebrities, eg. paris hilton, google injects image/news results as a header to it's search results effectively causing 1st result to be read wrong. Updated the regexp/regsub parser change above to reflect this fix, also updated unofficial build with this.


Last edited by speechles on Sat Jun 09, 2007 1:41 am; edited 6 times in total
Back to top
View user's profile Send private message
c0nv1ct
Voice


Joined: 17 May 2007
Posts: 5

PostPosted: Thu Jun 07, 2007 11:53 pm    Post subject: Reply with quote

As of today, i'm getting the: https://www.google.com/accounts/Login?continue=http://www.google.com/search?hl=en&q=OSX%20Zune&safe=on&btnG=Search&lr=lang_all&hl=en

problem again, using both the official and unofficial versions. Sad
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Fri Jun 08, 2007 12:11 am    Post subject: Reply with quote

c0nv1ct wrote:
As of today, i'm getting the: https://www.google.com/accounts/Login?continue=http://www.google.com/search?hl=en&q=OSX%20Zune&safe=on&btnG=Search&lr=lang_all&hl=en

problem again, using both the official and unofficial versions. Sad

impossible, your not using http://ereader.kiczek.com/UNOFFICIAL-incith-google-v1.95.tcl more than likely, which is my most current unofficial build. To fix madwoota's build, the official, use my advice above. Remember to read back into threads before posting...heh
proof using your own search terms --- irc wrote:
<speechles> !g osx zune
<sp33chy> 1,790,000 results | Portable Media: Zune Now Works With Ma @ http://gizmodo.com/gadgets/portable-media/zune-now-works-with-mac-os-x-and-linux-well-almost-217258.php | Portable Media: Zune Won't Be Mac-Comp @ http://gizmodo.com/gadgets/portable-media/zune-wont-be-maccompatible-at-launch-201763.php | Zune Video Converter for Mac 2.0 - Rev @
<sp33chy> http://www.downloadpipe.com/audio_multimedia_video_tools/review-Zune-Video-Converter-for-Mac-1050071.html | Zune « GracefulFlavor @ http://gracefulflavor.net/tag/technology/microsoft/zune/

.:edit:. Corrected minor problem with parser reading 1st entry incorrectly when searching celebrity names, specifically Paris Hilton. Now it should read 100% of search results correctly *crosses fingers*


Last edited by speechles on Fri Jun 08, 2007 4:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
c0nv1ct
Voice


Joined: 17 May 2007
Posts: 5

PostPosted: Fri Jun 08, 2007 5:41 am    Post subject: Reply with quote

you are right, i had 1.94 of your unofficial script, works now with 1.95. thanks bud...
Back to top
View user's profile Send private message
euphoriac
Voice


Joined: 06 Jul 2006
Posts: 4

PostPosted: Sat Jun 09, 2007 3:04 am    Post subject: Reply with quote

speechles wrote:

line 463
Code:
-          regexp -- {<div class=g.*?<a.*?href="(.+?)".*?>(.+?)</a>} $html - link desc
+          regexp -- {<div class=g(?!b).*?<a href="(.+?)".*?>(.+?)</a>} $html - link desc
line 464
Code:
-          regsub -- {<div class=g.*?<a.*?href="(.+?)".*?>(.+?)</a>} $html {} html
+          regsub -- {<div class=g(?!b).*?<a href="(.+?)".*?>(.+?)</a>} $html {} html

This will fix it to remove that annoyance.


Thanks for the fix.
Back to top
View user's profile Send private message
rix
Halfop


Joined: 21 Sep 2005
Posts: 42
Location: Estonia

PostPosted: Sun Jun 10, 2007 1:40 pm    Post subject: Reply with quote

With speechless's 1.94:

Code:
[20:39:33] <rix> !g starpump
[20:39:34] <Leelo> </nobr></div><table border=0 cellpadding @ https://www.google.com/accounts/Login?continue=http://www.google.com/search?hl=en&q=starpump&safe=off&btnG=Search&lr=lang_all&num=10&hl=en
[20:39:35] <Leelo> </nobr></div><table border=0 cellpadding @ https://www.google.com/accounts/Login?continue=http://www.google.com/search?hl=en&q=starpump&safe=off&btnG=Search&lr=lang_all&num=10&hl=en
[20:39:36] <Leelo> </nobr></div><table border=0 cellpadding @ https://www.google.com/accounts/Login?continue=http://www.google.com/search?hl=en&q=starpump&safe=off&btnG=Search&lr=lang_all&num=10&hl=en


With 1.95 there's no result at all! :S
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Sun Jun 10, 2007 5:13 pm    Post subject: Reply with quote

rix wrote:
With speechless's 1.94:

Code:
[20:39:33] <rix> !g starpump
[20:39:34] <Leelo> </nobr></div><table border=0 cellpadding @ https://www.google.com/accounts/Login?continue=http://www.google.com/search?hl=en&q=starpump&safe=off&btnG=Search&lr=lang_all&num=10&hl=en
[20:39:35] <Leelo> </nobr></div><table border=0 cellpadding @ https://www.google.com/accounts/Login?continue=http://www.google.com/search?hl=en&q=starpump&safe=off&btnG=Search&lr=lang_all&num=10&hl=en
[20:39:36] <Leelo> </nobr></div><table border=0 cellpadding @ https://www.google.com/accounts/Login?continue=http://www.google.com/search?hl=en&q=starpump&safe=off&btnG=Search&lr=lang_all&num=10&hl=en


With 1.95 there's no result at all! :S
seperator == ' | ' wrote:
<speechles> !g starpump
<sp33chy> 30,000 results | Starpump Foorumid - Powered by XMB @ http://www.starpump.ee/ | Starpump Foorumid - Powered by XMB @ http://www.starpump.ee/viewthread.php | Welcome to starpump co @ http://www.starpump.com/ | Welcome to starpump co @ http://www.starpump.com/affinity01.html
seperator == '\n' wrote:
<speechles> !g starpump
<sp33chy> 30,000 results
<sp33chy> Starpump Foorumid - Powered by XMB @ http://www.starpump.ee/
<sp33chy> Starpump Foorumid - Powered by XMB @ http://www.starpump.ee/viewthread.php
<sp33chy> Welcome to starpump co @ http://www.starpump.com/
<sp33chy> Welcome to starpump co @ http://www.starpump.com/affinity01.html

reget the script, there was a bug in it early on.. i've since corrected that with a better parser which fixes this problem.
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Sun Jun 10, 2007 7:26 pm    Post subject: Reply with quote

Temporary fixed version until madwoota updates: incith-google-iCVS-061007.tcl.gz (updated again @ 6:40PM MDT)

As a side note, I think the google fork deserves a thread of its own.
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Jun 10, 2007 8:54 pm    Post subject: Reply with quote

incith wrote:
As a side note, I think the google fork deserves a thread of its own.

Would definitely be a good idea and stop any confusion between the two which appears to be setting in.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
luminoso
Voice


Joined: 02 Jul 2007
Posts: 7

PostPosted: Mon Jul 02, 2007 8:02 am    Post subject: Reply with quote

i'm having a strange behavior..

OS: Linux 2.6.20-hardened-r2-alphy
Tcl library: /usr/lib64/tcl8.4
Tcl version: 8.4.14 (header version 8.4.14)

13:01:16 <@luminoso> !google eggdrop
13:01:20 <@mortalboy87> Sign in @
https://www.google.com/accounts/Login?continue=http://www.google.com/search?hl=en&q=eggdrop&safe=off&btnG=Search&lr=lang_all&hl=en |
Eggheads.org - Main Index @ http://www.eggheads.org/ | Eggheads.org - Downloads @ http://www.eggheads.org/downloads/ | slennox's eggdrop
page @ http://www.egghelp.org/ | Eggdrop - Wikipedia, the free encyclop @ http://en.wikipedia.org/wiki/Eggdrop

that "sign in @" are always shown. :\
Back to top
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Tue Jul 03, 2007 9:14 am    Post subject: Reply with quote

luminoso wrote:
13:01:16 <@luminoso> !google eggdrop
13:01:20 <@mortalboy87> Sign in @
https://www.google.com/accounts/Login?continue=http://www.google.com/search?hl=en&q=eggdrop&safe=off&btnG=Search&lr=lang_all&hl=en

Code:
[23:11] <madwoota> !g eggdrop
[23:11] <|EggDrop|> Eggheads.org - Main Index @ http://www.eggheads.org/


Always check here for the "current" release of incith-google:
http://www.woota.net/~madwoota/incith-google-current.tar.gz

-madwoota
Back to top
View user's profile Send private message
luminoso
Voice


Joined: 02 Jul 2007
Posts: 7

PostPosted: Tue Jul 03, 2007 1:02 pm    Post subject: Reply with quote

sorry! fixed!
Back to top
View user's profile Send private message
br00
Voice


Joined: 19 Jun 2006
Posts: 9

PostPosted: Thu Aug 23, 2007 9:02 am    Post subject: Reply with quote

for a while now !google has returned "Sorry, no search results were found."
also googlefight returns 0 for all fights (By results on Google: a ties with e on 0! etc etc, for anything)
!images, however, still works fine

i've tried fresh clean latest tcl and no difference (using incith:google-1.8.7c at the moment), any help?
Back to top
View user's profile Send private message
tmyoungjr
Voice


Joined: 24 Aug 2007
Posts: 14

PostPosted: Fri Aug 24, 2007 3:53 pm    Post subject: Reply with quote

single network, 2 channels, bot logged into both. he's not authenticated to nickserv or chanserv (he is owner of #bottest, but im not indentifying him to it in order to keep this as even a test as possible)

#chat
#bottest

in #bottest my bot responds like so :

<timmah> !google cars
<timmahbot> Buy New & Used Cars, Research Prices, @ http://www.cars.com/ | Disney Presents a Pixar film 'Cars' :: @ http://disney.go.com/disneypictures/cars/ | Cars (2006) @ http://www.imdb.com/title/tt0317219/ | New Car Prices, Used Car Pricing, C @ http://www.edmunds.com/

in #chat my bot doesn't respond at all and i dont get any errors while watching the terminal, nor in the log.

.chaninfo
Settings for static channel #bottest:
Protect modes (chanmode): +tn
Idle Kick after (idle-kick): DON'T!
stopnethack: DON'T!
aop-delay: 5:30
revenge-mode: 0
ban-time: 120
exempt-time: 60
invite-time: 60
Other modes:
-inactive +statuslog -secret +shared
+greet -seen +cycle +dontkickops
+protectops -protectfriends -revenge -revengebot
-bitch -autoop -autovoice -nodesynch
-enforcebans +dynamicbans +userbans -autohalfop
-protecthalfops
+dynamicexempts +userexempts +dynamicinvites +userinvites
User defined channel flags:
+google -op -voice
flood settings: chan ctcp join kick deop nick
number: 10 3 5 3 3 5
time : 60 60 60 10 10 60
[15:51] #timmah# chaninfo #bottest

.chaninfo #chat
Settings for static channel #chat:
Protect modes (chanmode): +tn
Idle Kick after (idle-kick): DON'T!
stopnethack: DON'T!
aop-delay: 5:30
revenge-mode: 0
ban-time: 120
exempt-time: 60
invite-time: 60
Other modes:
-inactive +statuslog -secret +shared
+greet -seen +cycle +dontkickops
+protectops -protectfriends -revenge -revengebot
-bitch -autoop -autovoice -nodesynch
-enforcebans +dynamicbans +userbans -autohalfop
-protecthalfops
+dynamicexempts +userexempts +dynamicinvites +userinvites
User defined channel flags:
+google -op -voice
flood settings: chan ctcp join kick deop nick
number: 10 3 5 3 3 5
time : 60 60 60 10 10 60
[15:51] #timmah# chaninfo #chat

any thoughts? using
#-----------------------------------------------------------------------------#
# incith:google v1.8.7c#

with no changes at all to the config file.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3 ... 15, 16, 17, 18, 19  Next
Page 16 of 19

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber