go-watch/web/watchTemplates/NewEgg.json

140 lines
No EOL
3.3 KiB
JSON

{
"filters": [
{
"filter_id": 21,
"filter_watch_id": 4,
"filter_name": "Fetch",
"x": 168,
"y": 214,
"filter_type": "gurl",
"var1": "-",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null
},
{
"filter_id": 22,
"filter_watch_id": 4,
"filter_name": "CSS",
"x": 398,
"y": 213,
"filter_type": "css",
"var1": ".product-price .price-current strong",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null
},
{
"filter_id": 23,
"filter_watch_id": 4,
"filter_name": "Sanitize",
"x": 629,
"y": 214,
"filter_type": "replace",
"var1": "[^0-9]",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null
},
{
"filter_id": 24,
"filter_watch_id": 4,
"filter_name": "Price",
"x": 878,
"y": 217,
"filter_type": "store",
"var1": "",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null
},
{
"filter_id": 25,
"filter_watch_id": 4,
"filter_name": "Different",
"x": 878,
"y": 322,
"filter_type": "condition",
"var1": "diff",
"var2": "Price",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null
},
{
"filter_id": 26,
"filter_watch_id": 4,
"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": 27,
"filter_watch_id": 4,
"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": 18,
"connection_watch_id": 4,
"filter_output_id": 21,
"filter_input_id": 22
},
{
"filter_connection_id": 19,
"connection_watch_id": 4,
"filter_output_id": 22,
"filter_input_id": 23
},
{
"filter_connection_id": 20,
"connection_watch_id": 4,
"filter_output_id": 23,
"filter_input_id": 24
},
{
"filter_connection_id": 21,
"connection_watch_id": 4,
"filter_output_id": 23,
"filter_input_id": 25
},
{
"filter_connection_id": 22,
"connection_watch_id": 4,
"filter_output_id": 25,
"filter_input_id": 26
},
{
"filter_connection_id": 23,
"connection_watch_id": 4,
"filter_output_id": 27,
"filter_input_id": 21
}
]
}