-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 el corte ingles (#1107)
- Loading branch information
Showing
3 changed files
with
72 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,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' | ||
}; |
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