memery / memery-legacy

memery is a fault tolerant IRC bot written in Python. It was created by nycz initially to crack inside jokes, but it has evolved through a few complete rewrites into more of a joke-slash-utility bot. This version is in dire need of some kind of rewrite. (Rewrite is on its way in memery/leczair, but this is still somewhat supported/used.)
0 stars 0 forks source link

fixa g.py (spottar ut helt fel url ibland) #30

Closed kqr closed 12 years ago

kqr commented 12 years ago
00:43:19       @kqr | .g wayback machine internet archive
00:43:19     memery | kqr: /m/url?ei=h-siULCNIObh4QTw_QE&q=http://web.archive.org/&ved=0CAYQFjAA&usg=AFQjCNGN-4fl4gxUeZj0Kt0Es4MzFgudAA

samt

00:43:48    @kobran | .g internet
00:43:49     memery | kobran: /m/url?ei=pOsiUPi8Muji4QTsZQ&q=http://sv.wikipedia.org/wiki/Internet&ved=0CAYQFjAA&usg=AFQjCNHmobRszsLzFMRtj8QlrEhAwcQ7mA
kqr commented 12 years ago

Det verkar som att första sökningen blir fel och restrerande blir rätt.

kqr commented 12 years ago

Den kastar exception när det inte finns några träffar också. :(