go-watch/web/watchTemplates/Tweakers.json

273 lines
No EOL
6.3 KiB
JSON

{
"filters": [
{
"filter_id": 89,
"filter_watch_id": 6,
"filter_name": "Fetch",
"x": 81,
"y": 212,
"filter_type": "gurl",
"var1": "-",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 90,
"filter_watch_id": 6,
"filter_name": "Schedule",
"x": 86,
"y": 63,
"filter_type": "cron",
"var1": "@every 15m + 10m",
"var2": "no",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 91,
"filter_watch_id": 6,
"filter_name": "XPath",
"x": 298,
"y": 210,
"filter_type": "xpath",
"var1": "//table[not(contains(@class,'refurbished-items'))]//td[@class='shop-price']//a",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 92,
"filter_watch_id": 6,
"filter_name": "Sanitize",
"x": 523,
"y": 208,
"filter_type": "match",
"var1": "€.[0-9.]+",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 93,
"filter_watch_id": 6,
"filter_name": "Sanitize2",
"x": 728,
"y": 210,
"filter_type": "replace",
"var1": "[^0-9]",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 94,
"filter_watch_id": 6,
"filter_name": "Min",
"x": 941,
"y": 209,
"filter_type": "math",
"var1": "min",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 95,
"filter_watch_id": 6,
"filter_name": "Minimum",
"x": 1130,
"y": 210,
"filter_type": "store",
"var1": "",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 96,
"filter_watch_id": 6,
"filter_name": "Diff",
"x": 897,
"y": 370,
"filter_type": "condition",
"var1": "diff",
"var2": "Minimum",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 97,
"filter_watch_id": 6,
"filter_name": "Notify",
"x": 1083,
"y": 486,
"filter_type": "notify",
"var1": "{{ .WatchName }} Price change: {{ .Min }}",
"var2": "All",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 98,
"filter_watch_id": 6,
"filter_name": "Round",
"x": 1086,
"y": 364,
"filter_type": "replace",
"var1": "[.].*",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 99,
"filter_watch_id": 6,
"filter_name": "Expect",
"x": 517,
"y": 453,
"filter_type": "expect",
"var1": "1",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 100,
"filter_watch_id": 6,
"filter_name": "Disable",
"x": 732,
"y": 455,
"filter_type": "disable",
"var1": "",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 101,
"filter_watch_id": 6,
"filter_name": "DisableNotify",
"x": 736,
"y": 570,
"filter_type": "notify",
"var1": "Disabled schedule for {{ .WatchName }}",
"var2": "All",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
}
],
"connections": [
{
"filter_connection_id": 80,
"connection_watch_id": 6,
"filter_output_id": 90,
"filter_input_id": 89
},
{
"filter_connection_id": 81,
"connection_watch_id": 6,
"filter_output_id": 89,
"filter_input_id": 91
},
{
"filter_connection_id": 82,
"connection_watch_id": 6,
"filter_output_id": 91,
"filter_input_id": 92
},
{
"filter_connection_id": 83,
"connection_watch_id": 6,
"filter_output_id": 92,
"filter_input_id": 93
},
{
"filter_connection_id": 84,
"connection_watch_id": 6,
"filter_output_id": 93,
"filter_input_id": 94
},
{
"filter_connection_id": 85,
"connection_watch_id": 6,
"filter_output_id": 94,
"filter_input_id": 95
},
{
"filter_connection_id": 86,
"connection_watch_id": 6,
"filter_output_id": 94,
"filter_input_id": 96
},
{
"filter_connection_id": 87,
"connection_watch_id": 6,
"filter_output_id": 96,
"filter_input_id": 98
},
{
"filter_connection_id": 88,
"connection_watch_id": 6,
"filter_output_id": 98,
"filter_input_id": 97
},
{
"filter_connection_id": 89,
"connection_watch_id": 6,
"filter_output_id": 91,
"filter_input_id": 99
},
{
"filter_connection_id": 90,
"connection_watch_id": 6,
"filter_output_id": 99,
"filter_input_id": 100
},
{
"filter_connection_id": 91,
"connection_watch_id": 6,
"filter_output_id": 99,
"filter_input_id": 101
}
]
}