From 778104869121153069971794ef4981e2a97e50ec Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 9 Jan 2013 22:22:44 +0100 Subject: [PATCH] Add example for a pirate bay chain. --- .../resources/chains/thepiratebay-example.json | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 src/main/resources/chains/thepiratebay-example.json diff --git a/src/main/resources/chains/thepiratebay-example.json b/src/main/resources/chains/thepiratebay-example.json new file mode 100644 index 0000000..f2eed53 --- /dev/null +++ b/src/main/resources/chains/thepiratebay-example.json @@ -0,0 +1,50 @@ +{ + "enabled": false, + "name": "Example Reaction", + + "query": + { + "class": "HttpQuery", + "parameters": [ + { + "name": "url", + "value": "http://thepiratebay.se/search/Example%20Words/0/3/0" + } + ] + }, + + "filters": [ + { + "class": "HtmlFilter" + }, + { + "class": "PirateBayFilter" + } + ], + + "trigger": + { + "class": "NewTorrentTrigger" + }, + + "action": + { + "class": "EmailAction", + "parameters": [ + { + "name": "smtpHostname", + "value": "smtp" + }, + { + "name": "sender", + "value": "reactor@reactor.de" + }, + { + "name": "recipient", + "value": "recipient@recipient.de" + } + ] + }, + + "updateInterval": 3600 +} -- 2.7.4