feat(galaxus): add zen 3 (#729)

This commit is contained in:
hiivin
2020-11-09 17:31:51 +01:00
committed by GitHub
parent dde9837829
commit 4e086e9267
4 changed files with 51 additions and 1 deletions
+1
View File
@@ -158,6 +158,7 @@ environment variables are **optional**._
| eBuyer (UK) | `ebuyer`| | eBuyer (UK) | `ebuyer`|
| EVGA | `evga`| | EVGA | `evga`|
| EVGA (EU) | `evga-eu`| | EVGA (EU) | `evga-eu`|
| Galaxus (DE) | `galaxus`|
| Gamestop | `gamestop`| | Gamestop | `gamestop`|
| Mediamarkt (DE) | `mediamarkt`| | Mediamarkt (DE) | `mediamarkt`|
| MemoryExpress (CA) | `memoryexpress`| | MemoryExpress (CA) | `memoryexpress`|
+1 -1
View File
@@ -114,7 +114,7 @@ export const Arlt: Store = {
}, },
{ {
brand: 'amd', brand: 'amd',
model: '5900x', model: '5950x',
series: 'ryzen5950', series: 'ryzen5950',
url: 'https://www.arlt.com/Hardware/PC-Komponenten/Prozessoren-arlt/AMD-Ryzen-9-5950X-boxed.html' url: 'https://www.arlt.com/Hardware/PC-Komponenten/Prozessoren-arlt/AMD-Ryzen-9-5950X-boxed.html'
} }
+47
View File
@@ -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'
};
+2
View File
@@ -29,6 +29,7 @@ import {Cyberport} from './cyberport';
import {Ebuyer} from './ebuyer'; import {Ebuyer} from './ebuyer';
import {Evga} from './evga'; import {Evga} from './evga';
import {EvgaEu} from './evga-eu'; import {EvgaEu} from './evga-eu';
import {Galaxus} from './galaxus';
import {Gamestop} from './gamestop'; import {Gamestop} from './gamestop';
import {Mediamarkt} from './mediamarkt'; import {Mediamarkt} from './mediamarkt';
import {MemoryExpress} from './memoryexpress'; import {MemoryExpress} from './memoryexpress';
@@ -86,6 +87,7 @@ export const storeList = new Map([
[Ebuyer.name, Ebuyer], [Ebuyer.name, Ebuyer],
[Evga.name, Evga], [Evga.name, Evga],
[EvgaEu.name, EvgaEu], [EvgaEu.name, EvgaEu],
[Galaxus.name, Galaxus],
[Gamestop.name, Gamestop], [Gamestop.name, Gamestop],
[Mediamarkt.name, Mediamarkt], [Mediamarkt.name, Mediamarkt],
[MemoryExpress.name, MemoryExpress], [MemoryExpress.name, MemoryExpress],