From: David ‘Bombe’ Roden Date: Wed, 9 Jan 2013 21:22:44 +0000 (+0100) Subject: Add example for a pirate bay chain. X-Git-Tag: 0.1~38^2~2 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=778104869121153069971794ef4981e2a97e50ec;p=rhynodge.git Add example for a pirate bay chain. --- 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 +}