Last active
July 16, 2022 22:31
-
-
Save birukoff/713bd74c5db3e857ee16360a316dffb6 to your computer and use it in GitHub Desktop.
Rules for distill.io browser plugin to monitor PS5 availability in some stores of Norway
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"client": { | |
"local": 1, | |
"type": 11, | |
"version": "1.18.5" | |
}, | |
"data": [ | |
{ | |
"name": "PS5 Digital - Power.no", | |
"uri": "https://www.power.no/gaming/konsoll/playstation-5-digital-edition/p-1101680/", | |
"config": "{\"selections\":[{\"frames\":[{\"index\":0,\"excludes\":[],\"includes\":[{\"type\":\"xpath\",\"expr\":\"//*[@id=\\\"product-intro\\\"]//button[@data-videoly-label=\\\"buy\\\"]\"}]}],\"dynamic\":true,\"delay\":5}],\"ignoreEmptyText\":true,\"includeStyle\":false,\"dataAttr\":\"text\"}", | |
"tags": [ | |
"Digital", | |
"PS5" | |
], | |
"content_type": 2, | |
"state": 40, | |
"schedule": "{\"type\":\"RANDOM\",\"params\":{\"interval\":10800,\"min\":30,\"max\":60}}", | |
"ts": "2021-01-28T09:06:15.000Z", | |
"rule": "{\"type\":2,\"op\":1,\"rules\":[{\"type\":1,\"contentType\":1,\"rule\":{\"type\":2,\"params\":{\"input\":\"Legg til handlekurv\"}}}]}" | |
}, | |
{ | |
"name": "PS5 Disk - Power.no", | |
"uri": "https://www.power.no/gaming/konsoll/playstation-5/p-1077687/", | |
"config": "{\"selections\":[{\"frames\":[{\"index\":0,\"excludes\":[],\"includes\":[{\"type\":\"xpath\",\"expr\":\"//*[@id=\\\"product-intro\\\"]//button[@data-videoly-label=\\\"buy\\\"]\"}]}],\"dynamic\":true,\"delay\":5}],\"ignoreEmptyText\":true,\"includeStyle\":false,\"dataAttr\":\"text\"}", | |
"tags": [ | |
"Disk", | |
"PS5" | |
], | |
"content_type": 2, | |
"state": 40, | |
"schedule": "{\"type\":\"RANDOM\",\"params\":{\"interval\":10800,\"min\":30,\"max\":60}}", | |
"ts": "2021-01-28T09:22:09.115Z", | |
"rule": "{\"type\":2,\"op\":1,\"rules\":[{\"type\":1,\"contentType\":1,\"rule\":{\"type\":2,\"params\":{\"input\":\"Legg til handlekurv\"}}}]}" | |
}, | |
{ | |
"name": "PS5 Digital - Elkjøp", | |
"uri": "https://www.elkjop.no/product/gaming/spillkonsoll/playstation-konsoller/220280/playstation-5-ps5-digital-edition", | |
"config": "{\"selections\":[{\"frames\":[{\"index\":0,\"excludes\":[],\"includes\":[{\"type\":\"xpath\",\"expr\":\"//*[@id=\\\"product-detail-wrapper\\\"]/div[3]/div[4]/div/div[1]/div[1]/div\"}]}],\"dynamic\":true,\"delay\":0}],\"ignoreEmptyText\":true,\"includeStyle\":false,\"dataAttr\":\"text\"}", | |
"tags": [ | |
"Digital", | |
"PS5" | |
], | |
"content_type": 2, | |
"state": 40, | |
"schedule": "{\"type\":\"RANDOM\",\"params\":{\"interval\":10800,\"min\":30,\"max\":60}}", | |
"ts": "2021-01-28T10:03:50.962Z", | |
"rule": "{\"type\":2,\"op\":1,\"rules\":[{\"type\":1,\"contentType\":1,\"rule\":{\"type\":2,\"params\":{\"input\":\"Legg i handlevogn\"}}}]}" | |
}, | |
{ | |
"name": "PS5 Disk - Elkjøp", | |
"uri": "https://www.elkjop.no/product/gaming/spillkonsoll/playstation-konsoller/220276/playstation-5-ps5", | |
"config": "{\"selections\":[{\"frames\":[{\"index\":0,\"excludes\":[],\"includes\":[{\"type\":\"xpath\",\"expr\":\"//*[@id=\\\"product-detail-wrapper\\\"]/div[3]/div[4]/div/div[1]/div[1]/div\"}]}],\"dynamic\":true,\"delay\":0}],\"ignoreEmptyText\":true,\"includeStyle\":false,\"dataAttr\":\"text\"}", | |
"tags": [ | |
"Disk", | |
"PS5" | |
], | |
"content_type": 2, | |
"state": 40, | |
"schedule": "{\"type\":\"RANDOM\",\"params\":{\"interval\":10800,\"min\":30,\"max\":60}}", | |
"ts": "2021-01-28T10:07:54.647Z", | |
"rule": "{\"type\":2,\"op\":1,\"rules\":[{\"type\":1,\"contentType\":1,\"rule\":{\"type\":2,\"params\":{\"input\":\"Legg i handlevogn\"}}}]}" | |
}, | |
{ | |
"name": "PS5 Digital - NetOnNet", | |
"uri": "https://www.netonnet.no/art/gaming/spillogkonsoll/playstation/playstation-konsoll/sony-playstation-5-digital-edition/1013477.15693/?siteType=1", | |
"config": "{\"selections\":[{\"frames\":[{\"index\":0,\"excludes\":[],\"includes\":[{\"type\":\"xpath\",\"expr\":\"//button[starts-with(@id, 'BuyButton')]\"}]}],\"dynamic\":true,\"delay\":0}],\"ignoreEmptyText\":false,\"includeStyle\":false,\"dataAttr\":\"text\"}", | |
"tags": [ | |
"Digital", | |
"PS5" | |
], | |
"content_type": 2, | |
"state": 40, | |
"schedule": "{\"type\":\"RANDOM\",\"params\":{\"interval\":10800,\"min\":30,\"max\":60}}", | |
"ts": "2021-01-28T10:22:45.269Z", | |
"rule": "{\"type\":2,\"op\":1,\"rules\":[{\"type\":1,\"contentType\":1,\"rule\":{\"type\":2,\"params\":{\"input\":\"Legg i handlevogn\"}}}]}" | |
}, | |
{ | |
"name": "PS5 Disk - NetOnNet", | |
"uri": "https://www.netonnet.no/art/gaming/spillogkonsoll/playstation/playstation-konsoll/sony-playstation-5/1012886.15693/?siteType=1", | |
"config": "{\"selections\":[{\"frames\":[{\"index\":0,\"excludes\":[],\"includes\":[{\"type\":\"xpath\",\"expr\":\"//button[starts-with(@id, 'BuyButton')]\"}]}],\"dynamic\":true,\"delay\":0}],\"ignoreEmptyText\":false,\"includeStyle\":false,\"dataAttr\":\"text\"}", | |
"tags": [ | |
"Disk", | |
"PS5" | |
], | |
"content_type": 2, | |
"state": 40, | |
"schedule": "{\"type\":\"RANDOM\",\"params\":{\"interval\":10800,\"min\":30,\"max\":60}}", | |
"ts": "2021-01-28T10:26:04.981Z", | |
"rule": "{\"type\":2,\"op\":1,\"rules\":[{\"type\":1,\"contentType\":1,\"rule\":{\"type\":2,\"params\":{\"input\":\"Legg i handlevogn\"}}}]}" | |
}, | |
{ | |
"name": "Listing Playstation - Coop Obs", | |
"uri": "https://coop.no/sortiment/obs-sortiment/elektronikk/underholdning/konsoll/?facets=%7B%22itemconsoletype%22%3A%5B%22Playstation%22%5D%7D", | |
"config": "{\"selections\":[{\"frames\":[{\"index\":0,\"excludes\":[],\"includes\":[{\"type\":\"xpath\",\"expr\":\"(//div[@id='spa-main']/main[@class='app-content']//div//div[@class='style_results__zgp1u']//div)[7]\"}]}],\"dynamic\":true,\"delay\":5}],\"ignoreEmptyText\":true,\"includeStyle\":false,\"dataAttr\":\"text\"}", | |
"tags": [ | |
"PS5" | |
], | |
"content_type": 2, | |
"state": 40, | |
"schedule": "{\"type\":\"RANDOM\",\"params\":{\"interval\":10800,\"min\":30,\"max\":60}}", | |
"ts": "2021-01-28T10:33:43.297Z", | |
"rule": "{\"type\":2,\"op\":2,\"rules\":[{\"type\":1,\"contentType\":1,\"rule\":{\"type\":2,\"params\":{\"input\":\"PlayStation®5\"}}},{\"type\":1,\"contentType\":1,\"rule\":{\"type\":2,\"params\":{\"input\":\"PlayStation 5\"}}},{\"type\":1,\"contentType\":1,\"rule\":{\"type\":2,\"params\":{\"input\":\"PS5\"}}}]}" | |
}, | |
{ | |
"name": "PS5 Disk - CDON", | |
"uri": "https://cdon.no/spill/playstation-5-release-2021-54876367", | |
"config": "{\"selections\":[{\"frames\":[{\"index\":0,\"excludes\":[],\"includes\":[{\"type\":\"xpath\",\"expr\":\"//*[@id=\\\"fragment-buy-data\\\"]\"}]}],\"dynamic\":true,\"delay\":5}],\"ignoreEmptyText\":true,\"includeStyle\":false,\"dataAttr\":\"text\"}", | |
"tags": [ | |
"Disk", | |
"PS5" | |
], | |
"content_type": 2, | |
"state": 45, | |
"schedule": "{\"type\":\"RANDOM\",\"params\":{\"interval\":10800,\"min\":30,\"max\":60}}", | |
"ts": "2021-01-28T10:44:39.548Z", | |
"rule": "{\"type\":2,\"op\":1,\"rules\":[{\"type\":1,\"contentType\":1,\"rule\":{\"type\":2,\"params\":{\"input\":\"Legg i handlekurven\"}}}]}" | |
}, | |
{ | |
"name": "PS5 Disk - Proshop", | |
"uri": "https://www.proshop.no/Spillkonsoll/Sony-PlayStation-5/2831713", | |
"config": "{\"selections\":[{\"frames\":[{\"index\":0,\"excludes\":[],\"includes\":[{\"type\":\"xpath\",\"expr\":\"//form[@action=\\\"/Basket/AddItem\\\"]\"}]}],\"dynamic\":true,\"delay\":0}],\"ignoreEmptyText\":false,\"includeStyle\":false,\"dataAttr\":\"text\"}", | |
"tags": [ | |
"Disk", | |
"PS5" | |
], | |
"content_type": 2, | |
"state": 40, | |
"schedule": "{\"type\":\"RANDOM\",\"params\":{\"interval\":10800,\"min\":30,\"max\":60}}", | |
"ts": "2021-01-28T13:21:22.167Z", | |
"rule": "{\"type\":2,\"op\":1,\"rules\":[{\"type\":1,\"contentType\":1,\"rule\":{\"type\":2,\"params\":{\"input\":\"Kjøp\"}}}]}" | |
}, | |
{ | |
"name": "PS5 Digital - Proshop", | |
"uri": "https://www.proshop.no/Spillkonsoll/Sony-PlayStation-5-Digital-Edition/2863627", | |
"config": "{\"selections\":[{\"frames\":[{\"index\":0,\"excludes\":[],\"includes\":[{\"type\":\"xpath\",\"expr\":\"//form[@action=\\\"/Basket/AddItem\\\"]\"}]}],\"dynamic\":true,\"delay\":0}],\"ignoreEmptyText\":false,\"includeStyle\":false,\"dataAttr\":\"text\"}", | |
"tags": [ | |
"Digital", | |
"PS5" | |
], | |
"content_type": 2, | |
"state": 40, | |
"schedule": "{\"type\":\"RANDOM\",\"params\":{\"interval\":10800,\"min\":30,\"max\":60}}", | |
"ts": "2021-01-28T13:30:15.082Z", | |
"rule": "{\"type\":2,\"op\":1,\"rules\":[{\"type\":1,\"contentType\":1,\"rule\":{\"type\":2,\"params\":{\"input\":\"Kjøp\"}}}]}" | |
}, | |
{ | |
"name": "PS5 Disk - Kjell.com", | |
"uri": "https://www.kjell.com/no/produkter/lyd-og-bilde/dataspill-og-gaming/playstation-5/sony-playstation-5-spillkonsol-p62770", | |
"config": "{\"selections\":[{\"frames\":[{\"index\":0,\"excludes\":[],\"includes\":[{\"type\":\"xpath\",\"expr\":\"//button[@id=\\\"addToCart\\\"]\"}]}],\"dynamic\":true,\"delay\":1}],\"ignoreEmptyText\":false,\"includeStyle\":false,\"dataAttr\":\"text\"}", | |
"tags": [ | |
"Disk", | |
"PS5" | |
], | |
"content_type": 2, | |
"state": 40, | |
"schedule": "{\"type\":\"RANDOM\",\"params\":{\"interval\":10800,\"min\":30,\"max\":60}}", | |
"ts": "2021-01-29T08:36:01.532Z", | |
"rule": "{\"type\":2,\"op\":1,\"rules\":[{\"type\":1,\"contentType\":1,\"rule\":{\"type\":2,\"params\":{\"input\":\"Legg i handlekurv\"}}}]}" | |
}, | |
{ | |
"name": "PS5 Digital - Kjell.com", | |
"uri": "https://www.kjell.com/no/produkter/lyd-og-bilde/dataspill-og-gaming/playstation-5/sony-playstation-5-digital-edition-spillkonsol-p62771", | |
"config": "{\"selections\":[{\"frames\":[{\"index\":0,\"excludes\":[],\"includes\":[{\"type\":\"xpath\",\"expr\":\"//button[@id=\\\"addToCart\\\"]\"}]}],\"dynamic\":true,\"delay\":1}],\"ignoreEmptyText\":false,\"includeStyle\":false,\"dataAttr\":\"text\"}", | |
"tags": [ | |
"Digital", | |
"PS5" | |
], | |
"content_type": 2, | |
"state": 40, | |
"schedule": "{\"type\":\"RANDOM\",\"params\":{\"interval\":10800,\"min\":30,\"max\":60}}", | |
"ts": "2021-01-29T08:47:20.652Z", | |
"rule": "{\"type\":2,\"op\":1,\"rules\":[{\"type\":1,\"contentType\":1,\"rule\":{\"type\":2,\"params\":{\"input\":\"Legg i handlekurv\"}}}]}" | |
}, | |
{ | |
"name": "Search PlayStation 5 - Coolshop", | |
"uri": "https://no.coolshop.com/videospill-og-konsoller/playstation-5/pris=4000-*/?q=playstation%205", | |
"config": "{\"selections\":[{\"frames\":[{\"index\":0,\"excludes\":[],\"includes\":[{\"type\":\"xpath\",\"expr\":\"//div[@id='searchResults']\"}]}],\"dynamic\":true,\"delay\":0}],\"ignoreEmptyText\":false,\"includeStyle\":false,\"dataAttr\":\"text\"}", | |
"tags": [ | |
"PS5" | |
], | |
"content_type": 2, | |
"state": 40, | |
"schedule": "{\"type\":\"RANDOM\",\"params\":{\"interval\":10800,\"min\":30,\"max\":60}}", | |
"ts": "2021-02-04T21:55:36.431Z", | |
"rule": "{\"type\":2,\"op\":1,\"rules\":[{\"type\":1,\"contentType\":2,\"rule\":{\"type\":2,\"params\":{\"input\":\"PlayStation 5\"}}}]}" | |
}, | |
{ | |
"name": "PS5 Digital - CDON", | |
"uri": "https://cdon.no/spill/playstation-5-digital-edition-53815423", | |
"config": "{\"selections\":[{\"frames\":[{\"index\":0,\"excludes\":[],\"includes\":[{\"type\":\"xpath\",\"expr\":\"//*[@id=\\\"fragment-buy-data\\\"]\"}]}],\"dynamic\":true,\"delay\":5}],\"ignoreEmptyText\":true,\"includeStyle\":false,\"dataAttr\":\"text\"}", | |
"tags": [ | |
"Digital", | |
"PS5" | |
], | |
"content_type": 2, | |
"state": 45, | |
"schedule": "{\"type\":\"RANDOM\",\"params\":{\"interval\":10800,\"min\":30,\"max\":60}}", | |
"ts": "2021-02-12T09:35:56.706Z", | |
"rule": "{\"type\":2,\"op\":1,\"rules\":[{\"type\":1,\"contentType\":1,\"rule\":{\"type\":2,\"params\":{\"input\":\"Legg i handlekurven\"}}}]}" | |
}, | |
{ | |
"name": "PS5 Disk - MaxGaming.no", | |
"uri": "https://www.maxgaming.no/no/playstation-5/playstation-5", | |
"config": "{\"selections\":[{\"frames\":[{\"index\":0,\"excludes\":[],\"includes\":[{\"type\":\"xpath\",\"expr\":\"//*[@id=\\\"SubmitFalt\\\"]\"}]}],\"dynamic\":true,\"delay\":0}],\"ignoreEmptyText\":true,\"includeStyle\":false,\"dataAttr\":\"text\"}", | |
"tags": [ | |
"Disk", | |
"PS5" | |
], | |
"content_type": 2, | |
"state": 40, | |
"schedule": "{\"type\":\"RANDOM\",\"params\":{\"interval\":10800,\"min\":30,\"max\":60}}", | |
"ts": "2021-02-16T08:55:06.188Z", | |
"rule": "{\"type\":2,\"op\":1,\"rules\":[{\"type\":1,\"contentType\":2,\"rule\":{\"type\":2,\"params\":{\"input\":\"Legg i handlekurven\"}}}]}" | |
}, | |
{ | |
"name": "PS5 Digital - MaxGaming.no", | |
"uri": "https://www.maxgaming.no/no/playstation-5/playstation-5-digital-edition", | |
"config": "{\"selections\":[{\"frames\":[{\"index\":0,\"excludes\":[],\"includes\":[{\"type\":\"xpath\",\"expr\":\"//*[@id=\\\"SubmitFalt\\\"]\"}]}],\"dynamic\":true,\"delay\":0}],\"ignoreEmptyText\":true,\"includeStyle\":false,\"dataAttr\":\"text\"}", | |
"tags": [ | |
"Digital", | |
"PS5" | |
], | |
"content_type": 2, | |
"state": 40, | |
"schedule": "{\"type\":\"RANDOM\",\"params\":{\"interval\":10800,\"min\":30,\"max\":60}}", | |
"ts": "2021-02-16T08:56:07.689Z", | |
"rule": "{\"type\":2,\"op\":1,\"rules\":[{\"type\":1,\"contentType\":2,\"rule\":{\"type\":2,\"params\":{\"input\":\"Legg i handlekurven\"}}}]}" | |
}, | |
{ | |
"name": "Search PlayStation 5 - CDON", | |
"uri": "https://cdon.no/catalog/search?q=%22playstation+5%22&facet%5bcurrentPriceInclVat%5d=4000%2c", | |
"config": "{\"selections\":[{\"frames\":[{\"index\":0,\"excludes\":[],\"includes\":[{\"type\":\"xpath\",\"expr\":\"//main[@id=\\\"page-wrapper\\\"]//div[@id=\\\"leaf-category-page\\\"]//a[starts-with(@id, 'productItemLink')]\"}]}],\"dynamic\":true,\"delay\":0}],\"ignoreEmptyText\":true,\"includeStyle\":false,\"dataAttr\":\"text\"}", | |
"tags": [ | |
"PS5" | |
], | |
"content_type": 2, | |
"state": 40, | |
"schedule": "{\"type\":\"RANDOM\",\"params\":{\"interval\":10800,\"min\":30,\"max\":60}}", | |
"ts": "2021-03-12T10:39:20.721Z", | |
"rule": "{\"type\":2,\"op\":1,\"rules\":[{\"type\":1,\"contentType\":2,\"rule\":{\"type\":2,\"params\":{\"input\":\"Kjøp\"}}}]}" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment