Last active
February 15, 2021 22:59
-
-
Save birukoff/b9939dee045379b033b3fdc8901122ec to your computer and use it in GitHub Desktop.
Monitors listing of all GeForce 3080 cards at Komplett, and alerts when at least one them is in stock.
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": "GeForce RTX 3080 - Komplett.no", | |
"uri": "https://www.komplett.no/category/10412/datautstyr/pc-komponenter/skjermkort?nlevel=10000%C2%A728003%C2%A710412&sort=PriceAsc%3AASCENDING&hits=192&cnet=Grafikkprosessor_A00247%20%20%C2%A7NVIDIA%20GeForce%20RTX%203080", | |
"config": "{\"selections\":[{\"frames\":[{\"index\":0,\"excludes\":[],\"includes\":[{\"type\":\"xpath\",\"expr\":\"//main[@id='MainContent']/div[contains(@class,'container')]//div[@class='search-result']//form[contains(@class,'list')]\"}]}],\"dynamic\":true,\"delay\":0}],\"regexp\":{\"expr\":\"Varenr: \\\\d+\\\\n(?=(?:(?!Varenr).)+(?:stk\\\\. på lager))\",\"flags\":\"gis\"},\"ignoreEmptyText\":false,\"includeStyle\":false,\"dataAttr\":\"text\"}", | |
"tags": [], | |
"content_type": 2, | |
"state": 40, | |
"schedule": "{\"type\":\"RANDOM\",\"params\":{\"interval\":10800,\"min\":180,\"max\":600}}", | |
"ts": "2021-01-30T16:33:14.711Z", | |
"rule": "{\"type\":2,\"op\":1,\"rules\":[{\"type\":1,\"contentType\":2,\"rule\":{\"type\":1,\"params\":{}}}]}" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sure, no problem. Thanks again for the script. Hopefully Komplett receives more RTX 3080 cards in the close future :)