diff --git a/README.md b/README.md index acd8a8e..1340425 100644 --- a/README.md +++ b/README.md @@ -176,6 +176,7 @@ environment variables are **optional**._ | eBuyer (UK) | `ebuyer`| | ePrice (IT) | `eprice`| | Euronics (IT) | `euronics`| +| Euronics (DE) | `euronics-de`| | EVGA | `evga`| | EVGA (EU) | `evga-eu`| | Galaxus (DE) | `galaxus`| diff --git a/src/store/model/euronics-de.ts b/src/store/model/euronics-de.ts new file mode 100644 index 0000000..0badaae --- /dev/null +++ b/src/store/model/euronics-de.ts @@ -0,0 +1,28 @@ +import {Store} from './store'; + +export const EuronicsDE: Store = { + labels: { + inStock: { + container: '.buy-btn--cart-text', + text: ['Warenkorb'] + }, + maxPrice: { + container: '.price--content', + euroFormat: true + }, + outOfStock: { + container: '.product--buybox .alert--content', + text: ['Artikel steht derzeit nicht zur Verfügung'] + } + }, + links: [ + { + brand: 'microsoft', + model: 'xbox series s', + series: 'xboxss', + url: + 'https://www.euronics.de/spiele-und-konsolen-film-und-musik/spiele-und-konsolen/xbox-series-x/spielekonsole/xbox-series-s-512gb-konsole-4061856838076' + } + ], + name: 'euronics-de' +}; diff --git a/src/store/model/index.ts b/src/store/model/index.ts index d793b8b..8f1a2b9 100644 --- a/src/store/model/index.ts +++ b/src/store/model/index.ts @@ -36,6 +36,7 @@ import {Cyberport} from './cyberport'; import {Ebuyer} from './ebuyer'; import {Eprice} from './eprice'; import {Euronics} from './euronics'; +import {EuronicsDE} from './euronics-de'; import {Evga} from './evga'; import {EvgaEu} from './evga-eu'; import {Galaxus} from './galaxus'; @@ -112,6 +113,7 @@ export const storeList = new Map([ [Ebuyer.name, Ebuyer], [Eprice.name, Eprice], [Euronics.name, Euronics], + [EuronicsDE.name, EuronicsDE], [Evga.name, Evga], [EvgaEu.name, EvgaEu], [Galaxus.name, Galaxus],