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 ... 13, 14, 15 ... 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
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Thu Mar 22, 2007 5:03 am    Post subject: Reply with quote

Sounds like one of those problems my parents have with their pc when I get called for tech support ...

It magically goes away as soon as I'm standing behind them to see what its doing Smile
Back to top
View user's profile Send private message
ascension
Voice


Joined: 26 Mar 2007
Posts: 8

PostPosted: Sat Mar 31, 2007 4:29 pm    Post subject: Reply with quote

[15:27] Tcl error [incith::google::public_message]: Unsupported URL: http://www.google.com/search?hl=en&q=who+made+the+ps3+processor?&safe=off&btnG=Search&lr=lang_all

when someone typed: !google who made the ps3 processor?

Seems like it doesn't handle '?' char.
Back to top
View user's profile Send private message
eieregooie
Voice


Joined: 01 May 2007
Posts: 3

PostPosted: Tue May 01, 2007 12:46 pm    Post subject: Reply with quote

The weather part seems to be broken

eg:

Quote:
(@me) !g weather delft, netherlands
(@bot) <a href="http://www.weatherreports.com/Netherlands/Delft" class=l>Weather Report for Delft, Netherlands</a><table border=0 cellpadding=0 cellspacing=0><tr><td class=j>Weather Reports and Weather Forecast Delft, Netherlands. Weather Reports ... Check out weather for other locations in Netherlands ...: Find the Weather for any City, State or ZIP Code, or Airport Code or Country ... Netherlands, Delft.
(@bot) Temperature, Dew Point, Humidity, Wind, Pressure ..., www.wunderground.com/global/stations/06344.html - 131k - , <a class=fl href="http://216.239.59.104/search?q=cache:4e-0DhLmWAAJ:www.wunderground.com/global/stations/06344.html+weather+delft,+netherlands&hl=en&ct=clnk&cd=2&ie=UTF-8">Cached, - <a class=fl href="/search?hl=en&lr=&ie=UTF-8&safe=off&q=related:www.wunderground.com/global/stations/06344.html">Similar pages</a></nobr>


It used to work fine.
Back to top
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Wed May 02, 2007 3:27 am    Post subject: Reply with quote

Both of the above two problems are fixed in 1.8.7.

Available Here

Note: v1.x is now only bug fixes while I'm working on the 2.0 rewrite.
I will start a new topic in the forum when I have more details.

"Soon" Smile

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


Joined: 01 May 2007
Posts: 3

PostPosted: Thu May 03, 2007 9:07 am    Post subject: Reply with quote

Ty Smile

Here's a feature request tho Wink

Could you add a "variable weather_results" ? Or just default it to 1? I don't really see the use of having more than 1 weather result Smile
Back to top
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Sat May 05, 2007 3:17 am    Post subject: Reply with quote

Yeh, I was going to add a variable to let you return only one result when an 'answer' comes back.
Eg: the time, weather, population of a country, famous dates of birth etc, all those ones that Google gives an 'answer' to directly.

Will incorporate that in the near future.

That being said, I'd recommend incith's weather script as a better alternative. It lets you save user defaults, has better output etc. The google one is basically a by-product, and not anything special.

-madwoota
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Sat May 05, 2007 10:18 pm    Post subject: Reply with quote

I don't honestly think I ever released the user defaults. Haha. Um.. stay tuned!
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
eieregooie
Voice


Joined: 01 May 2007
Posts: 3

PostPosted: Sun May 06, 2007 7:53 pm    Post subject: Reply with quote

Thanks for pointing that out Smile I didn't really think I'd need it, but forecasts might come in handy Wink
Back to top
View user's profile Send private message
blieb
Voice


Joined: 17 May 2007
Posts: 1

PostPosted: Thu May 17, 2007 7:12 am    Post subject: Reply with quote

Hmm today I saw that google has updated something to the page, when I search something I get a google signin page link Razz

13:03:27 < Martin> !google kaas
13:03:28 <+[srv]Jupiter> Sign in @
https://www.google.com/accounts/Login?continue=http://www.google.com/search?hl=en&q=kaas&safe=off&btnG=Search&lr=lang_all&hl=en | Kaas Glassworks @ http://www.kaas.com/ | KAAS NEDERPOP ONLINE!! @ http://www.kaassuperfuif.nl/ | Patricia Kaas -
Wikipedia, the free en @ http://en.wikipedia.org/wiki/Patricia_Kaas
Back to top
View user's profile Send private message
Snoopotic
Voice


Joined: 10 Feb 2007
Posts: 4

PostPosted: Thu May 17, 2007 1:05 pm    Post subject: Reply with quote

I can confirm. Currently updated to 1.6.7 thinking this might be fixed ther but isn't.

Btw. very nice script! Wink
Back to top
View user's profile Send private message
c0nv1ct
Voice


Joined: 17 May 2007
Posts: 5

PostPosted: Thu May 17, 2007 2:38 pm    Post subject: Reply with quote

I can confirm this problem, it seemed to of started yesterday or the day before. Standard google searches with the script give "Sign in @ https://www.google.com/accounts/Login?continue=http://www.google.com/search?hl=en&q=test&safe=off&btnG=Search&lr=lang_all&hl=en" as the first response. Other features seem to be working fine though.

Does this mean we need to use a google api license key?
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 May 17, 2007 5:33 pm    Post subject: Reply with quote

no longer relevant, see post of mine below.

Last edited by speechles on Fri May 18, 2007 5:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
Dalif
Voice


Joined: 16 Dec 2006
Posts: 1
Location: Under your bed

PostPosted: Fri May 18, 2007 10:32 am    Post subject: Reply with quote

Heya Speechless. Any chance you could let us know which line in the script you've changed? I'm not big in wordseaching in Vim yet, and I'd like the script to work again Smile

Thanks.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
speechles
Revered One


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

PostPosted: Fri May 18, 2007 2:33 pm    Post subject: Reply with quote

Dalif wrote:
Heya Speechless. Any chance you could let us know which line in the script you've changed? I'm not big in wordseaching in Vim yet, and I'd like the script to work again Smile

Thanks.
of course, in madwoota's, 1.8.7 version (http://www.woota.net/~madwoota/incith-google-current.tar.gz) it would be:

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


.:edit:. learned a little more bout regexp this completely fixes the issue without breaking any other functions.

http://ereader.kiczek.com/UNOFFICIAL-incith-google-v1.94.tcl
for those using my unofficial hacked, bloated, overcoded version of this script, here is what is running on my bot.
Back to top
View user's profile Send private message
amorpheous
Voice


Joined: 19 May 2007
Posts: 7

PostPosted: Sat May 19, 2007 1:47 pm    Post subject: Reply with quote

c0nv1ct wrote:
I can confirm this problem, it seemed to of started yesterday or the day before. Standard google searches with the script give "Sign in @ https://www.google.com/accounts/Login?continue=http://www.google.com/search?hl=en&q=test&safe=off&btnG=Search&lr=lang_all&hl=en" as the first response. Other features seem to be working fine though.

Does this mean we need to use a google api license key?


blieb wrote:
Hmm today I saw that google has updated something to the page, when I search something I get a google signin page link Razz

13:03:27 < Martin> !google kaas
13:03:28 <+[srv]Jupiter> Sign in @
https://www.google.com/accounts/Login?continue=http://www.google.com/search?hl=en&q=kaas&safe=off&btnG=Search&lr=lang_all&hl=en | Kaas Glassworks @ http://www.kaas.com/ | KAAS NEDERPOP ONLINE!! @ http://www.kaassuperfuif.nl/ | Patricia Kaas -
Wikipedia, the free en @ http://en.wikipedia.org/wiki/Patricia_Kaas


Hi,

I've just noticed this problem too. It was working fine until today. I haven't changed anything, so it's most likely something that Google have done. Is there a way to fix this? I'm using version 1.8.5 by the way.

Thanks in advance.

-amorpheous

*edit*

Never mind. Just updated to speechles's version. Working fine now. Smile
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 ... 13, 14, 15 ... 17, 18, 19  Next
Page 14 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