dgtlmoon / dgtlmoon/changedetection.io

[feature] Product/Restock alerts - should have also `PreStock` mode

Open
#3,067 1 comment 1 reaction 0 assignees View on GitHub
enhancement restock-detection restock-price-monitoring
Dominant language
Python
Stars
34.3k
Forks
2.1k
Avg merge
22h 52m
Merged PRs (30d)
70

Description

Would be really nice to have more modes detected for changes with the restock monitor

`In Stock` , `Out of Stock`, and in this case `PreSale`

There is also the "text" `In Kürze lieferbar` to be added to a different list of JS texts

So for example

![Image](https://github.com/user-attachments/assets/01626dd5-34ac-48f7-b232-65f66df46c1a)

and we have

```

{
"@context": "https://schema.org/",
"@type": "Product",
"name": "ASUS ROG Astral GeForce RTX 5090 OC 32GB",
"image": "https://website.de/422x390/products/2149471",
"url": "https://website.de/produkt/959842/asus-rog-astral-geforce-rtx-5090-oc-32gb.html",
"brand": {
"@type": "Brand",
"name": "ASUS"
},
"description": "Hinweis: Verwende nur die mitgelieferten Kabel",
"sku": "959842",
"offers": {
"@type": "Offer",
"priceCurrency": "EUR",
"price": "2998",
"availability": "https://schema.org/PreSale",
"itemCondition": "https://schema.org/NewCondition"
}}

```

Contributor guide

Open the contributing guide

Research direction

Start by locating the restock monitor's availability-mode detection and the JavaScript text lists. Trace how schema.org `PreSale` and the text `In Kürze lieferbar` are classified, then confirm the intended distinction between the issue's `PreStock` and `PreSale` names. Done means both availability signals are detected as the appropriate restock mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.