Files
streetmerchant/src/store/model/amazon-de-warehouse.ts
T
Jef LeCompte f87053cb02 refactor: use gts instead of xo
feat: add browser opening to test:notification
feat: add c8 and mocha for testing
feat: update Docker and ci
style: update editorconfig
2021-01-17 15:21:53 -05:00

65 lines
1.5 KiB
TypeScript

import {Store} from './store';
export const AmazonDeWarehouse: Store = {
backoffStatusCodes: [403, 429, 503],
currency: '€',
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: '.olpOfferPrice',
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',
};