Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(store): add amazon-de-warehouse (#1102)
- Loading branch information
Showing
3 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
import {Store} from './store'; | ||
|
||
export const AmazonDeWarehouse: Store = { | ||
backoffStatusCodes: [403, 429, 503], | ||
labels: { | ||
captcha: { | ||
container: 'body', | ||
text: [ | ||
'geben sie die unten angezeigten zeichen ein', | ||
'geben sie die zeichen unten ein' | ||
] | ||
}, | ||
inStock: { | ||
container: '#a-autoid-0-announce', | ||
text: ['In den Einkaufswagen'] | ||
}, | ||
maxPrice: { | ||
container: 'a-size-large a-color-price olpOfferPrice a-text-bold', | ||
euroFormat: true | ||
}, | ||
outOfStock: [ | ||
{ | ||
container: '.a-size-medium', | ||
text: [ | ||
'Derzeit gibt es keine Verk盲ufer, die diesen Artikel an Ihren Standort liefern k枚nnen' | ||
] | ||
} | ||
] | ||
}, | ||
links: [ | ||
{ | ||
brand: 'test:brand', | ||
model: 'test:model', | ||
series: 'test:series', | ||
url: 'https://www.amazon.de/gp/offer-listing/B07PW9VBK5' | ||
}, | ||
{ | ||
brand: 'sony', | ||
model: 'ps5 console', | ||
series: 'sonyps5c', | ||
url: 'https://www.amazon.de/gp/offer-listing/B08H93ZRK9' | ||
}, | ||
{ | ||
brand: 'sony', | ||
model: 'ps5 digital', | ||
series: 'sonyps5de', | ||
url: 'https://www.amazon.de/gp/offer-listing/B08H98GVK8' | ||
}, | ||
{ | ||
brand: 'microsoft', | ||
model: 'xbox series s', | ||
series: 'xboxss', | ||
url: 'https://www.amazon.de/gp/offer-listing/B087VM5XC6' | ||
}, | ||
{ | ||
brand: 'microsoft', | ||
model: 'xbox series x', | ||
series: 'xboxsx', | ||
url: 'https://www.amazon.de/gp/offer-listing/B08H93ZRLL' | ||
} | ||
], | ||
name: 'amazon-de-warehouse' | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters