Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: dutch stores components #513

Merged
merged 11 commits into from
Oct 13, 2020
40 changes: 34 additions & 6 deletions src/store/model/amazon-nl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,60 @@ export const AmazonNl: Store = {
text: ['voer de karakters in die u hieronder ziet']
},
inStock: {
container: '#desktop_buybox',
text: ['in winkelwagen plaatsen']
container: '#availability',
text: ['op voorraad', 'verkrijgbaar vanaf', 'wordt gewoonlijk verzonden binnen', 'nog slechts']
},
maxPrice: {
container: 'span[class*="PriceString"]',
euroFormat: true
}
},
outOfStock: [
{
container: '#availability',
text: ['tijdelijk niet']
},
{
container: '#outOfStock',
text: ['we weten niet of en wanneer dit item weer op voorraad is']
}
]
},
links: [
{
brand: 'test:brand',
model: 'test:model',
series: 'test:series',
url: 'https://www.amazon.nl/dp/B083GGYNQ6/'
url: 'https://www.amazon.nl/dp/B083GGYNQ6'
},
{
brand: 'msi',
model: 'ventus 3x oc',
series: '3080',
url: 'https://www.amazon.nl/3080-VENTUS-3X-10G-OC/dp/B08HM4M621'
url: 'https://www.amazon.nl/dp/B08HM4M621'
},
{
brand: 'msi',
model: 'gaming x trio',
series: '3080',
url: 'https://www.amazon.nl/3080-GAMING-TRIO-10G-grafische/dp/B08HM4V2DH'
url: 'https://www.amazon.nl/dp/B08HM4V2DH'
},
{
brand: 'evga',
model: 'xc3 ultra',
series: '3080',
url: 'https://www.amazon.nl/dp/B08HJ9XFNM'
},
{
brand: 'evga',
model: 'xc3 black',
series: '3080',
url: 'https://www.amazon.nl/dp/B08HH1BMQQ'
},
{
brand: 'asus',
model: 'rog strix',
series: '3080',
url: 'https://www.amazon.nl/dp/B08HN7VVLJ'
}
],
name: 'amazon-nl'
Expand Down
52 changes: 50 additions & 2 deletions src/store/model/coolblue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const Coolblue: Store = {
},
{
brand: 'asus',
model: 'tuf gaming',
model: 'tuf',
series: '3080',
url: 'https://www.coolblue.nl/product/868726/'
},
Expand All @@ -50,7 +50,7 @@ export const Coolblue: Store = {
},
{
brand: 'asus',
model: 'tuf oc gaming',
model: 'tuf oc',
series: '3080',
url: 'https://www.coolblue.nl/product/868733/'
},
Expand All @@ -65,6 +65,54 @@ export const Coolblue: Store = {
model: 'rog strix gaming',
series: '3080',
url: 'https://www.coolblue.nl/product/868732/'
},
{
brand: 'msi',
model: 'gaming x trio',
series: '3090',
url: 'https://www.coolblue.nl/product/868738/'
},
{
brand: 'msi',
model: 'ventus 3x oc',
series: '3090',
url: 'https://www.coolblue.nl/product/868739/'
},
{
brand: 'asus',
model: 'tuf oc',
series: '3090',
url: 'https://www.coolblue.nl/product/868730/'
},
{
brand: 'asus',
model: 'tuf',
series: '3090',
url: 'https://www.coolblue.nl/product/868727/'
},
{
brand: 'asus',
model: 'rog strix oc gaming',
series: '3090',
url: 'https://www.coolblue.nl/product/868728/'
},
{
brand: 'asus',
model: 'rog strix gaming',
series: '3090',
url: 'https://www.coolblue.nl/product/868729/'
},
{
brand: 'gigabyte',
model: 'gaming oc',
series: '3090',
url: 'https://www.coolblue.nl/product/868734/'
},
{
brand: 'gigabyte',
model: 'eagle oc',
series: '3090',
url: 'https://www.coolblue.nl/product/868735/'
}
],
name: 'coolblue'
Expand Down