go-watch/web/watchTemplates/Amazon.json

189 lines
No EOL
4.3 KiB
JSON

{
"filters": [
{
"filter_id": 80,
"filter_watch_id": 2,
"filter_name": "Fetch",
"x": 144,
"y": 242,
"filter_type": "gurl",
"var1": "-",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 81,
"filter_watch_id": 2,
"filter_name": "XPath",
"x": 362,
"y": 245,
"filter_type": "xpath",
"var1": "//div[@id='corePrice_feature_div']//span[@class='a-price-whole']",
"var2": "inner",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 82,
"filter_watch_id": 2,
"filter_name": "Sanitize",
"x": 584,
"y": 244,
"filter_type": "match",
"var1": "[0-9]+",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 83,
"filter_watch_id": 2,
"filter_name": "Price",
"x": 815,
"y": 245,
"filter_type": "store",
"var1": "",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 84,
"filter_watch_id": 2,
"filter_name": "Diff",
"x": 813,
"y": 379,
"filter_type": "condition",
"var1": "diff",
"var2": "Price",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 85,
"filter_watch_id": 2,
"filter_name": "Schedule",
"x": 104,
"y": 70,
"filter_type": "cron",
"var1": "@every 30m",
"var2": "no",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 86,
"filter_watch_id": 2,
"filter_name": "Expect",
"x": 540,
"y": 557,
"filter_type": "expect",
"var1": "2",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 87,
"filter_watch_id": 2,
"filter_name": "Disable",
"x": 735,
"y": 557,
"filter_type": "disable",
"var1": "",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 88,
"filter_watch_id": 2,
"filter_name": "DisableNotify",
"x": 733,
"y": 659,
"filter_type": "notify",
"var1": "Disabled schedule for {{ .WatchName }}",
"var2": "All",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
}
],
"connections": [
{
"filter_connection_id": 72,
"connection_watch_id": 2,
"filter_output_id": 80,
"filter_input_id": 81
},
{
"filter_connection_id": 73,
"connection_watch_id": 2,
"filter_output_id": 81,
"filter_input_id": 82
},
{
"filter_connection_id": 74,
"connection_watch_id": 2,
"filter_output_id": 82,
"filter_input_id": 83
},
{
"filter_connection_id": 75,
"connection_watch_id": 2,
"filter_output_id": 83,
"filter_input_id": 84
},
{
"filter_connection_id": 76,
"connection_watch_id": 2,
"filter_output_id": 85,
"filter_input_id": 80
},
{
"filter_connection_id": 77,
"connection_watch_id": 2,
"filter_output_id": 81,
"filter_input_id": 86
},
{
"filter_connection_id": 78,
"connection_watch_id": 2,
"filter_output_id": 86,
"filter_input_id": 87
},
{
"filter_connection_id": 79,
"connection_watch_id": 2,
"filter_output_id": 86,
"filter_input_id": 88
}
]
}