summaryrefslogtreecommitdiffstats
path: root/ircbot/GfindFeeds4bot
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2014-01-09 23:58:38 +0100
committerlassulus <lassulus@googlemail.com>2014-01-09 23:58:38 +0100
commit940e77f47d7c3d874053eeab17054f6b10e63a12 (patch)
treea8fc851d0c72d5ce0101db56826d41d2e8dfb735 /ircbot/GfindFeeds4bot
parentb5f1c347900b21a07674f2132e4dac2fb1dc99ea (diff)
rename ircbot to knn (krebs news network)
Diffstat (limited to 'ircbot/GfindFeeds4bot')
-rwxr-xr-xircbot/GfindFeeds4bot17
1 files changed, 0 insertions, 17 deletions
diff --git a/ircbot/GfindFeeds4bot b/ircbot/GfindFeeds4bot
deleted file mode 100755
index a5439c5a..00000000
--- a/ircbot/GfindFeeds4bot
+++ /dev/null
@@ -1,17 +0,0 @@
-#! /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 <<EOF
- query = process.env.query
- data = JSON.parse(process.env.data)
-
- data.responseData.entries.forEach(function (entry, index) {
- console.log(query + index + '|' + entry.url)
- })
-EOF