diff --git a/README.md b/README.md index 830d491..6ab5c22 100644 --- a/README.md +++ b/README.md @@ -158,6 +158,7 @@ environment variables are **optional**._ | eBuyer (UK) | `ebuyer`| | EVGA | `evga`| | EVGA (EU) | `evga-eu`| +| Galaxus (DE) | `galaxus`| | Gamestop | `gamestop`| | Mediamarkt (DE) | `mediamarkt`| | MemoryExpress (CA) | `memoryexpress`| diff --git a/src/store/model/arlt.ts b/src/store/model/arlt.ts index 1cbaba8..8b3cf9e 100644 --- a/src/store/model/arlt.ts +++ b/src/store/model/arlt.ts @@ -114,7 +114,7 @@ export const Arlt: Store = { }, { brand: 'amd', - model: '5900x', + model: '5950x', series: 'ryzen5950', url: 'https://www.arlt.com/Hardware/PC-Komponenten/Prozessoren-arlt/AMD-Ryzen-9-5950X-boxed.html' } diff --git a/src/store/model/galaxus.ts b/src/store/model/galaxus.ts new file mode 100644 index 0000000..0bdcd81 --- /dev/null +++ b/src/store/model/galaxus.ts @@ -0,0 +1,47 @@ +import {Store} from './store'; + +export const Galaxus: Store = { + labels: { + inStock: { + container: '#addToCartButton:enabled', + text: ['In den Warenkorb'] + }, + maxPrice: { + container: '.productDetail .ZZa5', + euroFormat: true + } + }, + links: [ + { + brand: 'test:brand', + model: 'test:model', + series: 'test:series', + url: 'https://www.galaxus.de/de/product/11156643' + }, + { + brand: 'amd', + model: '5600x', + series: 'ryzen5600', + url: 'https://www.galaxus.de/de/product/13987919' + }, + { + brand: 'amd', + model: '5800x', + series: 'ryzen5800', + url: 'https://www.galaxus.de/de/product/13987918' + }, + { + brand: 'amd', + model: '5900x', + series: 'ryzen5900', + url: 'https://www.galaxus.de/de/product/13987917' + }, + { + brand: 'amd', + model: '5950x', + series: 'ryzen5950', + url: 'https://www.galaxus.de/de/product/13987916' + } + ], + name: 'galaxus' +}; diff --git a/src/store/model/index.ts b/src/store/model/index.ts index 13632c0..03d300b 100644 --- a/src/store/model/index.ts +++ b/src/store/model/index.ts @@ -29,6 +29,7 @@ import {Cyberport} from './cyberport'; import {Ebuyer} from './ebuyer'; import {Evga} from './evga'; import {EvgaEu} from './evga-eu'; +import {Galaxus} from './galaxus'; import {Gamestop} from './gamestop'; import {Mediamarkt} from './mediamarkt'; import {MemoryExpress} from './memoryexpress'; @@ -86,6 +87,7 @@ export const storeList = new Map([ [Ebuyer.name, Ebuyer], [Evga.name, Evga], [EvgaEu.name, EvgaEu], + [Galaxus.name, Galaxus], [Gamestop.name, Gamestop], [Mediamarkt.name, Mediamarkt], [MemoryExpress.name, MemoryExpress],