Skip to content

Commit

Permalink
chore(store): update eu stores (#1100)
Browse files Browse the repository at this point in the history
  • Loading branch information
fnk93 committed Dec 2, 2020
1 parent 21e74cf commit f7b7533
Show file tree
Hide file tree
Showing 9 changed files with 58 additions and 20 deletions.
8 changes: 7 additions & 1 deletion src/store/model/alternate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const Alternate: Store = {
brand: 'test:brand',
model: 'test:model',
series: 'test:series',
url: 'https://www.alternate.de/product/1516616'
url: 'https://www.alternate.de/product/1662088'
},
{
brand: 'asus',
Expand Down Expand Up @@ -404,6 +404,12 @@ export const Alternate: Store = {
model: 'xbox series s',
series: 'xboxss',
url: 'https://www.alternate.de/product/1675117'
},
{
brand: 'sony',
model: 'ps5 console',
series: 'sonyps5c',
url: 'https://www.alternate.de/product/1676874'
}
],
name: 'alternate'
Expand Down
4 changes: 2 additions & 2 deletions src/store/model/amazon-de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ export const AmazonDe: Store = {
{
brand: 'test:brand',
cartUrl:
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B083JX52VG&Quantity.1=1',
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B07PW9VBK5&Quantity.1=1',
model: 'test:model',
series: 'test:series',
url: 'https://www.amazon.de/dp/B083JX52VG'
url: 'https://www.amazon.de/dp/B07PW9VBK5'
},
{
brand: 'asus',
Expand Down
4 changes: 2 additions & 2 deletions src/store/model/amazon-es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ export const AmazonEs: Store = {
{
brand: 'test:brand',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B083JX52VG&Quantity.1=1',
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B07PW9VBK5&Quantity.1=1',
model: 'test:model',
series: 'test:series',
url: 'https://www.amazon.es/dp/B083JX52VG'
url: 'https://www.amazon.es/dp/B07PW9VBK5'
},
{
brand: 'msi',
Expand Down
4 changes: 2 additions & 2 deletions src/store/model/amazon-fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const AmazonFr: Store = {
},
maxPrice: {
container: 'span[class*="PriceString"]',
euroFormat: false
euroFormat: true
},
outOfStock: [
{
Expand All @@ -27,7 +27,7 @@ export const AmazonFr: Store = {
brand: 'test:brand',
model: 'test:model',
series: 'test:series',
url: 'https://www.amazon.fr/dp/B07PBLD2MX'
url: 'https://www.amazon.fr/dp/B07PW9VBK5'
},
{
brand: 'msi',
Expand Down
4 changes: 2 additions & 2 deletions src/store/model/amazon-it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ export const AmazonIt: Store = {
{
brand: 'asus',
cartUrl:
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08L8LG4M3&Quantity.1=1',
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B07PW9VBK5&Quantity.1=1',
model: 'dual',
series: '3070',
url: 'https://www.amazon.it/dp/B08L8LG4M3'
url: 'https://www.amazon.it/dp/B07PW9VBK5'
},
{
brand: 'asus',
Expand Down
4 changes: 2 additions & 2 deletions src/store/model/amazon-uk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ export const AmazonUk: Store = {
{
brand: 'test:brand',
cartUrl:
'https://www.amazon.co.uk/gp/aws/cart/add.html?ASIN.1=B081265T5Z&Quantity.1=1',
'https://www.amazon.co.uk/gp/aws/cart/add.html?ASIN.1=B07PW9VBK5&Quantity.1=1',
model: 'test:model',
series: 'test:series',
url: 'https://www.amazon.co.uk/dp/B081265T5Z/'
url: 'https://www.amazon.co.uk/dp/B07PW9VBK5/'
},
{
brand: 'sony',
Expand Down
36 changes: 34 additions & 2 deletions src/store/model/euronics-de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,49 @@ export const EuronicsDE: Store = {
euroFormat: true
},
outOfStock: {
container: '.product--buybox .alert--content',
text: ['Artikel steht derzeit nicht zur Verf眉gung']
container:
'.product--buybox .alert.is--error.is--rounded .alert--content',
text: [
'Artikel steht derzeit nicht zur Verf眉gung',
'Morgen im Laufe des Morgens und nur online unter'
]
}
},
links: [
{
brand: 'test:brand',
model: 'test:model',
series: 'test:series',
url:
'https://www.euronics.de/telefon-und-navigation/festnetz/schnurlose-telefone/kx-tg6721gb-schnurlostelefon-mit-anrufbeantworter-schwarz-4051168442801'
},
{
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'
},
{
brand: 'microsoft',
model: 'xbox series x',
series: 'xboxsx',
url:
'https://www.euronics.de/spiele-und-konsolen-film-und-musik/spiele-und-konsolen/xbox-series-x/spielekonsole/xbox-series-x-1tb-konsole-4061856838045'
},
{
brand: 'sony',
model: 'ps5 digital',
series: 'sonyps5de',
url:
'https://www.euronics.de/spiele-und-konsolen-film-und-musik/spiele-und-konsolen/playstation-5/spielekonsole/playstation-5-digital-edition-konsole-4061856837833'
},
{
brand: 'sony',
model: 'ps5 console',
series: 'sonyps5c',
url:
'https://www.euronics.de/spiele-und-konsolen-film-und-musik/spiele-und-konsolen/playstation-5/spielekonsole/playstation-5-konsole-4061856837826'
}
],
name: 'euronics-de'
Expand Down
6 changes: 3 additions & 3 deletions src/store/model/mediamarkt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ export const Mediamarkt: Store = {
outOfStock: [
{
container: '#root',
text: ['dieser artikel ist aktuell nicht verf眉gbar.']
text: ['Dieser artikel ist aktuell nicht verf眉gbar.']
},
{
container: '#root',
text: ['leider keine Lieferung m枚glich']
text: ['Leider keine Lieferung m枚glich']
}
]
},
Expand All @@ -26,7 +26,7 @@ export const Mediamarkt: Store = {
brand: 'test:brand',
model: 'test:model',
series: 'test:series',
url: 'https://www.mediamarkt.de/de/product/-2592355.html'
url: 'https://www.mediamarkt.de/de/product/-2641856.html'
},
{
brand: 'asus',
Expand Down
8 changes: 4 additions & 4 deletions src/store/model/saturn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ export const Saturn: Store = {
},
maxPrice: {
container: 'span[font-family="price"]',
euroFormat: false // Note: Saturn uses non-euroFromat as price seperator
euroFormat: false
},
outOfStock: [
{
container: '#root',
text: ['dieser artikel ist aktuell nicht verf眉gbar.']
text: ['Dieser artikel ist aktuell nicht verf眉gbar.']
},
{
container: '#root',
text: ['leider keine Lieferung m枚glich']
text: ['Leider keine Lieferung m枚glich']
}
]
},
Expand All @@ -26,7 +26,7 @@ export const Saturn: Store = {
brand: 'test:brand',
model: 'test:model',
series: 'test:series',
url: 'https://www.saturn.de/de/product/-2592355.html'
url: 'https://www.saturn.de/de/product/-2641856.html'
},
{
brand: 'asus',
Expand Down

0 comments on commit f7b7533

Please sign in to comment.