-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
elcorteingles.ts
69 lines (68 loc) 路 1.56 KB
/
elcorteingles.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
import {Store} from './store';
export const Elcorteingles: 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: '.product_detail-purchase.mb-2.c12 .js-add-cart-text',
text: ['a la cesta']
}
],
maxPrice: {
container: '.product_detail-buy-price-container .price._big',
euroFormat: true
},
outOfStock: [
{
container:
'.c12.mt-2.product_detail-add_to_cart.one_click_enabled .c12.button._normal.js-buy-button._sold_out.view-page._disabled',
text: ['Agotado']
},
{
container:
'.product_detail-purchase.mb-2.c12 .c12.button._normal.js-buy-button._sold_out.view-page._disabled',
text: ['No disponible']
}
]
},
links: [
{
brand: 'test:brand',
model: 'test:model',
series: 'test:series',
url: 'https://www.elcorteingles.es/moda/A26324406/'
},
{
brand: 'sony',
model: 'ps5 console',
series: 'sonyps5c',
url: 'https://www.elcorteingles.es/videojuegos/A37046604'
},
{
brand: 'sony',
model: 'ps5 digital',
series: 'sonyps5de',
url: 'https://www.elcorteingles.es/videojuegos/A37046605'
},
{
brand: 'microsoft',
model: 'xbox series x',
series: 'xboxsx',
url: 'https://www.elcorteingles.es/videojuegos/A37047078'
},
{
brand: 'microsoft',
model: 'xbox series s',
series: 'xboxss',
url: 'https://www.elcorteingles.es/videojuegos/A37047080'
}
],
name: 'elcorteingles'
};