mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 02:57:34 +00:00
feat(store): add el corte ingles (#1107)
This commit is contained in:
@@ -180,6 +180,7 @@ environment variables are **optional**._
|
|||||||
| Currys (UK) | `currys`|
|
| Currys (UK) | `currys`|
|
||||||
| Cyberport (DE) | `cyberport` |
|
| Cyberport (DE) | `cyberport` |
|
||||||
| eBuyer (UK) | `ebuyer`|
|
| eBuyer (UK) | `ebuyer`|
|
||||||
|
| El Corte Inglés | `elcorteingles`|
|
||||||
| ePrice (IT) | `eprice`|
|
| ePrice (IT) | `eprice`|
|
||||||
| Euronics (IT) | `euronics`|
|
| Euronics (IT) | `euronics`|
|
||||||
| Euronics (DE) | `euronics-de`|
|
| Euronics (DE) | `euronics-de`|
|
||||||
|
|||||||
@@ -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'
|
||||||
|
};
|
||||||
@@ -37,6 +37,7 @@ import {Corsair} from './corsair';
|
|||||||
import {Currys} from './currys';
|
import {Currys} from './currys';
|
||||||
import {Cyberport} from './cyberport';
|
import {Cyberport} from './cyberport';
|
||||||
import {Ebuyer} from './ebuyer';
|
import {Ebuyer} from './ebuyer';
|
||||||
|
import {Elcorteingles} from './elcorteingles';
|
||||||
import {Eprice} from './eprice';
|
import {Eprice} from './eprice';
|
||||||
import {Euronics} from './euronics';
|
import {Euronics} from './euronics';
|
||||||
import {EuronicsDE} from './euronics-de';
|
import {EuronicsDE} from './euronics-de';
|
||||||
@@ -122,6 +123,7 @@ export const storeList = new Map([
|
|||||||
[Currys.name, Currys],
|
[Currys.name, Currys],
|
||||||
[Cyberport.name, Cyberport],
|
[Cyberport.name, Cyberport],
|
||||||
[Ebuyer.name, Ebuyer],
|
[Ebuyer.name, Ebuyer],
|
||||||
|
[Elcorteingles.name, Elcorteingles],
|
||||||
[Eprice.name, Eprice],
|
[Eprice.name, Eprice],
|
||||||
[Euronics.name, Euronics],
|
[Euronics.name, Euronics],
|
||||||
[EuronicsDE.name, EuronicsDE],
|
[EuronicsDE.name, EuronicsDE],
|
||||||
|
|||||||
Reference in New Issue
Block a user