go-watch/web/watchTemplates/Tweakers.json

315 lines
No EOL
7.3 KiB
JSON

{
"filters": [
{
"filter_id": 65,
"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": 66,
"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": 67,
"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": 68,
"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": 69,
"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": 70,
"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": 71,
"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": 72,
"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": 73,
"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": 74,
"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": 75,
"filter_watch_id": 6,
"filter_name": "Expect",
"x": 895,
"y": 72,
"filter_type": "expect",
"var1": "1",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 76,
"filter_watch_id": 6,
"filter_name": "Disable",
"x": 1100,
"y": 74,
"filter_type": "disable",
"var1": "",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 77,
"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": 78,
"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": 79,
"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": 58,
"connection_watch_id": 6,
"filter_output_id": 66,
"filter_input_id": 65
},
{
"filter_connection_id": 59,
"connection_watch_id": 6,
"filter_output_id": 65,
"filter_input_id": 67
},
{
"filter_connection_id": 60,
"connection_watch_id": 6,
"filter_output_id": 67,
"filter_input_id": 68
},
{
"filter_connection_id": 61,
"connection_watch_id": 6,
"filter_output_id": 68,
"filter_input_id": 69
},
{
"filter_connection_id": 62,
"connection_watch_id": 6,
"filter_output_id": 69,
"filter_input_id": 70
},
{
"filter_connection_id": 63,
"connection_watch_id": 6,
"filter_output_id": 70,
"filter_input_id": 71
},
{
"filter_connection_id": 64,
"connection_watch_id": 6,
"filter_output_id": 70,
"filter_input_id": 72
},
{
"filter_connection_id": 65,
"connection_watch_id": 6,
"filter_output_id": 72,
"filter_input_id": 74
},
{
"filter_connection_id": 66,
"connection_watch_id": 6,
"filter_output_id": 74,
"filter_input_id": 73
},
{
"filter_connection_id": 67,
"connection_watch_id": 6,
"filter_output_id": 69,
"filter_input_id": 75
},
{
"filter_connection_id": 68,
"connection_watch_id": 6,
"filter_output_id": 75,
"filter_input_id": 76
},
{
"filter_connection_id": 69,
"connection_watch_id": 6,
"filter_output_id": 67,
"filter_input_id": 77
},
{
"filter_connection_id": 70,
"connection_watch_id": 6,
"filter_output_id": 77,
"filter_input_id": 78
},
{
"filter_connection_id": 71,
"connection_watch_id": 6,
"filter_output_id": 77,
"filter_input_id": 79
}
]
}