go-watch/web/watchTemplates/Ebay.json

210 lines
No EOL
4.8 KiB
JSON

{
"filters": [
{
"filter_id": 35,
"filter_watch_id": 3,
"filter_name": "Fetch",
"x": 168,
"y": 214,
"filter_type": "gurl",
"var1": "-",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 36,
"filter_watch_id": 3,
"filter_name": "CSS",
"x": 398,
"y": 213,
"filter_type": "css",
"var1": ".x-price-primary span span",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 37,
"filter_watch_id": 3,
"filter_name": "Sanitize",
"x": 629,
"y": 214,
"filter_type": "replace",
"var1": ".*US[ ][$]([0-9]+[.][0-9]+).*",
"var2": "$1",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 38,
"filter_watch_id": 3,
"filter_name": "Price",
"x": 878,
"y": 217,
"filter_type": "store",
"var1": "",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 39,
"filter_watch_id": 3,
"filter_name": "Different",
"x": 878,
"y": 322,
"filter_type": "condition",
"var1": "diff",
"var2": "Price",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 40,
"filter_watch_id": 3,
"filter_name": "Notify",
"x": 1080,
"y": 326,
"filter_type": "notify",
"var1": "{{ .WatchName }} changed price {{ .Sanitize }}",
"var2": "All",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 41,
"filter_watch_id": 3,
"filter_name": "Schedule",
"x": 167,
"y": 74,
"filter_type": "cron",
"var1": "@every 15m",
"var2": "no",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 42,
"filter_watch_id": 3,
"filter_name": "Expect",
"x": 621,
"y": 493,
"filter_type": "expect",
"var1": "1",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 43,
"filter_watch_id": 3,
"filter_name": "Disable",
"x": 863,
"y": 497,
"filter_type": "disable",
"var1": "",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 44,
"filter_watch_id": 3,
"filter_name": "DisableNotify",
"x": 867,
"y": 619,
"filter_type": "notify",
"var1": "Disabled schedule for {{ .WatchName }}",
"var2": "All",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
}
],
"connections": [
{
"filter_connection_id": 31,
"connection_watch_id": 3,
"filter_output_id": 35,
"filter_input_id": 36
},
{
"filter_connection_id": 32,
"connection_watch_id": 3,
"filter_output_id": 36,
"filter_input_id": 37
},
{
"filter_connection_id": 33,
"connection_watch_id": 3,
"filter_output_id": 37,
"filter_input_id": 38
},
{
"filter_connection_id": 34,
"connection_watch_id": 3,
"filter_output_id": 37,
"filter_input_id": 39
},
{
"filter_connection_id": 35,
"connection_watch_id": 3,
"filter_output_id": 39,
"filter_input_id": 40
},
{
"filter_connection_id": 36,
"connection_watch_id": 3,
"filter_output_id": 41,
"filter_input_id": 35
},
{
"filter_connection_id": 37,
"connection_watch_id": 3,
"filter_output_id": 36,
"filter_input_id": 42
},
{
"filter_connection_id": 38,
"connection_watch_id": 3,
"filter_output_id": 42,
"filter_input_id": 43
},
{
"filter_connection_id": 39,
"connection_watch_id": 3,
"filter_output_id": 42,
"filter_input_id": 44
}
]
}