formatting of tweakers watch template
This commit is contained in:
parent
85cbdc774d
commit
a7443f6d6b
1 changed files with 200 additions and 1 deletions
|
@ -1 +1,200 @@
|
|||
{"filters":[{"filter_id":28,"filter_watch_id":5,"filter_name":"Fetch","x":81,"y":212,"filter_type":"gurl","var1":"-","var2":"","Parents":null,"Children":null,"Results":null,"Logs":null},{"filter_id":29,"filter_watch_id":5,"filter_name":"Schedule","x":86,"y":63,"filter_type":"cron","var1":"@every 15m","var2":"no","Parents":null,"Children":null,"Results":null,"Logs":null},{"filter_id":30,"filter_watch_id":5,"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},{"filter_id":31,"filter_watch_id":5,"filter_name":"Sanitize","x":523,"y":208,"filter_type":"match","var1":"€.[0-9.]+","var2":"","Parents":null,"Children":null,"Results":null,"Logs":null},{"filter_id":32,"filter_watch_id":5,"filter_name":"Sanitize2","x":728,"y":210,"filter_type":"replace","var1":"[^0-9]","var2":"","Parents":null,"Children":null,"Results":null,"Logs":null},{"filter_id":33,"filter_watch_id":5,"filter_name":"Min","x":941,"y":209,"filter_type":"math","var1":"min","var2":"","Parents":null,"Children":null,"Results":null,"Logs":null},{"filter_id":34,"filter_watch_id":5,"filter_name":"Minimum","x":1130,"y":210,"filter_type":"store","var1":"","var2":"","Parents":null,"Children":null,"Results":null,"Logs":null},{"filter_id":35,"filter_watch_id":5,"filter_name":"Diff","x":897,"y":370,"filter_type":"condition","var1":"diff","var2":"Minimum","Parents":null,"Children":null,"Results":null,"Logs":null},{"filter_id":36,"filter_watch_id":5,"filter_name":"Notify","x":895,"y":554,"filter_type":"notify","var1":"{{ .WatchName }} Price change: {{ .Min }}","var2":"All","Parents":null,"Children":null,"Results":null,"Logs":null},{"filter_id":37,"filter_watch_id":5,"filter_name":"Round","x":905,"y":461,"filter_type":"replace","var1":"[.].*","var2":"","Parents":null,"Children":null,"Results":null,"Logs":null}],"connections":[{"filter_connection_id":24,"connection_watch_id":5,"filter_output_id":29,"filter_input_id":28},{"filter_connection_id":25,"connection_watch_id":5,"filter_output_id":28,"filter_input_id":30},{"filter_connection_id":26,"connection_watch_id":5,"filter_output_id":30,"filter_input_id":31},{"filter_connection_id":27,"connection_watch_id":5,"filter_output_id":31,"filter_input_id":32},{"filter_connection_id":28,"connection_watch_id":5,"filter_output_id":32,"filter_input_id":33},{"filter_connection_id":29,"connection_watch_id":5,"filter_output_id":33,"filter_input_id":34},{"filter_connection_id":30,"connection_watch_id":5,"filter_output_id":33,"filter_input_id":35},{"filter_connection_id":31,"connection_watch_id":5,"filter_output_id":35,"filter_input_id":37},{"filter_connection_id":32,"connection_watch_id":5,"filter_output_id":37,"filter_input_id":36}]}
|
||||
{
|
||||
"filters": [
|
||||
{
|
||||
"filter_id": 28,
|
||||
"filter_watch_id": 5,
|
||||
"filter_name": "Fetch",
|
||||
"x": 81,
|
||||
"y": 212,
|
||||
"filter_type": "gurl",
|
||||
"var1": "-",
|
||||
"var2": "",
|
||||
"Parents": null,
|
||||
"Children": null,
|
||||
"Results": null,
|
||||
"Logs": null
|
||||
},
|
||||
{
|
||||
"filter_id": 29,
|
||||
"filter_watch_id": 5,
|
||||
"filter_name": "Schedule",
|
||||
"x": 86,
|
||||
"y": 63,
|
||||
"filter_type": "cron",
|
||||
"var1": "@every 15m",
|
||||
"var2": "no",
|
||||
"Parents": null,
|
||||
"Children": null,
|
||||
"Results": null,
|
||||
"Logs": null
|
||||
},
|
||||
{
|
||||
"filter_id": 30,
|
||||
"filter_watch_id": 5,
|
||||
"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
|
||||
},
|
||||
{
|
||||
"filter_id": 31,
|
||||
"filter_watch_id": 5,
|
||||
"filter_name": "Sanitize",
|
||||
"x": 523,
|
||||
"y": 208,
|
||||
"filter_type": "match",
|
||||
"var1": "€.[0-9.]+",
|
||||
"var2": "",
|
||||
"Parents": null,
|
||||
"Children": null,
|
||||
"Results": null,
|
||||
"Logs": null
|
||||
},
|
||||
{
|
||||
"filter_id": 32,
|
||||
"filter_watch_id": 5,
|
||||
"filter_name": "Sanitize2",
|
||||
"x": 728,
|
||||
"y": 210,
|
||||
"filter_type": "replace",
|
||||
"var1": "[^0-9]",
|
||||
"var2": "",
|
||||
"Parents": null,
|
||||
"Children": null,
|
||||
"Results": null,
|
||||
"Logs": null
|
||||
},
|
||||
{
|
||||
"filter_id": 33,
|
||||
"filter_watch_id": 5,
|
||||
"filter_name": "Min",
|
||||
"x": 941,
|
||||
"y": 209,
|
||||
"filter_type": "math",
|
||||
"var1": "min",
|
||||
"var2": "",
|
||||
"Parents": null,
|
||||
"Children": null,
|
||||
"Results": null,
|
||||
"Logs": null
|
||||
},
|
||||
{
|
||||
"filter_id": 34,
|
||||
"filter_watch_id": 5,
|
||||
"filter_name": "Minimum",
|
||||
"x": 1130,
|
||||
"y": 210,
|
||||
"filter_type": "store",
|
||||
"var1": "",
|
||||
"var2": "",
|
||||
"Parents": null,
|
||||
"Children": null,
|
||||
"Results": null,
|
||||
"Logs": null
|
||||
},
|
||||
{
|
||||
"filter_id": 35,
|
||||
"filter_watch_id": 5,
|
||||
"filter_name": "Diff",
|
||||
"x": 897,
|
||||
"y": 370,
|
||||
"filter_type": "condition",
|
||||
"var1": "diff",
|
||||
"var2": "Minimum",
|
||||
"Parents": null,
|
||||
"Children": null,
|
||||
"Results": null,
|
||||
"Logs": null
|
||||
},
|
||||
{
|
||||
"filter_id": 36,
|
||||
"filter_watch_id": 5,
|
||||
"filter_name": "Notify",
|
||||
"x": 895,
|
||||
"y": 554,
|
||||
"filter_type": "notify",
|
||||
"var1": "{{ .WatchName }} Price change: {{ .Min }}",
|
||||
"var2": "All",
|
||||
"Parents": null,
|
||||
"Children": null,
|
||||
"Results": null,
|
||||
"Logs": null
|
||||
},
|
||||
{
|
||||
"filter_id": 37,
|
||||
"filter_watch_id": 5,
|
||||
"filter_name": "Round",
|
||||
"x": 905,
|
||||
"y": 461,
|
||||
"filter_type": "replace",
|
||||
"var1": "[.].*",
|
||||
"var2": "",
|
||||
"Parents": null,
|
||||
"Children": null,
|
||||
"Results": null,
|
||||
"Logs": null
|
||||
}
|
||||
],
|
||||
"connections": [
|
||||
{
|
||||
"filter_connection_id": 24,
|
||||
"connection_watch_id": 5,
|
||||
"filter_output_id": 29,
|
||||
"filter_input_id": 28
|
||||
},
|
||||
{
|
||||
"filter_connection_id": 25,
|
||||
"connection_watch_id": 5,
|
||||
"filter_output_id": 28,
|
||||
"filter_input_id": 30
|
||||
},
|
||||
{
|
||||
"filter_connection_id": 26,
|
||||
"connection_watch_id": 5,
|
||||
"filter_output_id": 30,
|
||||
"filter_input_id": 31
|
||||
},
|
||||
{
|
||||
"filter_connection_id": 27,
|
||||
"connection_watch_id": 5,
|
||||
"filter_output_id": 31,
|
||||
"filter_input_id": 32
|
||||
},
|
||||
{
|
||||
"filter_connection_id": 28,
|
||||
"connection_watch_id": 5,
|
||||
"filter_output_id": 32,
|
||||
"filter_input_id": 33
|
||||
},
|
||||
{
|
||||
"filter_connection_id": 29,
|
||||
"connection_watch_id": 5,
|
||||
"filter_output_id": 33,
|
||||
"filter_input_id": 34
|
||||
},
|
||||
{
|
||||
"filter_connection_id": 30,
|
||||
"connection_watch_id": 5,
|
||||
"filter_output_id": 33,
|
||||
"filter_input_id": 35
|
||||
},
|
||||
{
|
||||
"filter_connection_id": 31,
|
||||
"connection_watch_id": 5,
|
||||
"filter_output_id": 35,
|
||||
"filter_input_id": 37
|
||||
},
|
||||
{
|
||||
"filter_connection_id": 32,
|
||||
"connection_watch_id": 5,
|
||||
"filter_output_id": 37,
|
||||
"filter_input_id": 36
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Reference in a new issue