From 2a730efca62a76d7344ad6bcaf0fa38acf925cdc Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 4 Jan 2014 03:12:34 +0100 Subject: ircbot GfindFeeds4bot: initial commit --- ircbot/GfindFeeds4bot | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 ircbot/GfindFeeds4bot diff --git a/ircbot/GfindFeeds4bot b/ircbot/GfindFeeds4bot new file mode 100755 index 00000000..a5439c5a --- /dev/null +++ b/ircbot/GfindFeeds4bot @@ -0,0 +1,17 @@ +#! /bin/sh +# usage: GfindFeeds4bot QUERY +set -euf + +export query="$1" +export data="$( + curl -sS "https://www.google.com/uds/GfindFeeds?v=1.0&q=$query" +)" + +node <