feat(store): add expert (#1105)

This commit is contained in:
fnk93
2020-12-02 19:13:25 +01:00
committed by GitHub
parent d7f242780e
commit 202698f917
3 changed files with 58 additions and 0 deletions
+55
View File
@@ -0,0 +1,55 @@
import {Store} from './store';
export const Expert: Store = {
labels: {
inStock: [
{
container: 'span.widget-ArticleStatus-buttonText',
text: ['In den Warenkorb']
}
],
maxPrice: {
container: '.widget-Container-subContent .widget-ArticlePrice-price',
euroFormat: true
},
outOfStock: [
{
container:
'span[style="font-size: 14pt;"] > span[style="color: #ff5e19;"]',
text: ['Das von Ihnen ausgewählte Produkt ist ausverkauft']
},
{
container: 'span.widget-ArticleStatus-statusPointText',
text: ['Artikel ist derzeit nicht verfügbar']
}
]
},
links: [
{
brand: 'test:brand',
model: 'test:model',
series: 'test:series',
url: 'https://www.expert.de/shop/11364114744-ps4-pro-1tb-jet-black.html'
},
{
brand: 'sony',
model: 'ps5 console',
series: 'sonyps5c',
url: 'https://www.expert.de/shop/11364129744-playstation-r-5.html'
},
{
brand: 'sony',
model: 'ps5 digital',
series: 'sonyps5de',
url:
'https://www.expert.de/shop/11364133744-playstation-r-5-digital-edition.html'
},
{
brand: 'microsoft',
model: 'xbox series s',
series: 'xboxss',
url: 'https://www.expert.de/shop/11350018530-xbox-series-s.html'
}
],
name: 'expert'
};
+2
View File
@@ -41,6 +41,7 @@ import {Euronics} from './euronics';
import {EuronicsDE} from './euronics-de';
import {Evga} from './evga';
import {EvgaEu} from './evga-eu';
import {Expert} from './expert';
import {Galaxus} from './galaxus';
import {Game} from './game';
import {Gamestop} from './gamestop';
@@ -120,6 +121,7 @@ export const storeList = new Map([
[EuronicsDE.name, EuronicsDE],
[Evga.name, Evga],
[EvgaEu.name, EvgaEu],
[Expert.name, Expert],
[Galaxus.name, Galaxus],
[Game.name, Game],
[Gamestop.name, Gamestop],