go-watch/web/watchTemplates/Etsy.json

140 lines
No EOL
3.3 KiB
JSON

{
"filters": [
{
"filter_id": 14,
"filter_watch_id": 3,
"filter_name": "Fetch",
"x": 168,
"y": 214,
"filter_type": "gurl",
"var1": "-",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null
},
{
"filter_id": 15,
"filter_watch_id": 3,
"filter_name": "CSS",
"x": 398,
"y": 213,
"filter_type": "css",
"var1": ".wt-text-title-03",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null
},
{
"filter_id": 16,
"filter_watch_id": 3,
"filter_name": "Sanitize",
"x": 629,
"y": 214,
"filter_type": "replace",
"var1": "[^$]*[$]([0-9.]+)[^z]+",
"var2": "$1",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null
},
{
"filter_id": 17,
"filter_watch_id": 3,
"filter_name": "Price",
"x": 878,
"y": 217,
"filter_type": "store",
"var1": "",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null
},
{
"filter_id": 18,
"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
},
{
"filter_id": 19,
"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
},
{
"filter_id": 20,
"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
}
],
"connections": [
{
"filter_connection_id": 12,
"connection_watch_id": 3,
"filter_output_id": 14,
"filter_input_id": 15
},
{
"filter_connection_id": 13,
"connection_watch_id": 3,
"filter_output_id": 15,
"filter_input_id": 16
},
{
"filter_connection_id": 14,
"connection_watch_id": 3,
"filter_output_id": 16,
"filter_input_id": 17
},
{
"filter_connection_id": 15,
"connection_watch_id": 3,
"filter_output_id": 16,
"filter_input_id": 18
},
{
"filter_connection_id": 16,
"connection_watch_id": 3,
"filter_output_id": 18,
"filter_input_id": 19
},
{
"filter_connection_id": 17,
"connection_watch_id": 3,
"filter_output_id": 20,
"filter_input_id": 14
}
]
}