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 PCComponentes and Amazon-ES Stores. (#558)
Co-authored-by: 脕lvaro Baquedano <alvarobasi@hotmail.com> Co-authored-by: 脕lvaro Baquedano Sim贸n <alvarobasi@laposte.net>
- Loading branch information
1 parent
aca6523
commit 062201f
Showing
4 changed files
with
256 additions
and
1 deletion.
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,105 @@ | ||
import {Store} from './store'; | ||
|
||
export const AmazonEs: Store = { | ||
labels: { | ||
captcha: { | ||
container: 'body', | ||
text: ['introduzca los caracteres que ve a continuaci贸n'] | ||
}, | ||
inStock: { | ||
container: '#desktop_buybox', | ||
text: ['a帽adir a la cesta'] | ||
}, | ||
maxPrice: { | ||
container: 'span[class*="PriceString"]', | ||
euroFormat: true | ||
} | ||
}, | ||
links: [ | ||
{ | ||
brand: 'test:brand', | ||
model: 'test:model', | ||
series: 'test:series', | ||
url: 'https://www.amazon.es/dp/B083JX52VG/' | ||
}, | ||
{ | ||
brand: 'msi', | ||
model: 'gaming x trio', | ||
series: '3080', | ||
url: 'https://www.amazon.es/dp/B08HM4V2DH' | ||
}, | ||
{ | ||
brand: 'evga', | ||
model: 'ftw3 ultra', | ||
series: '3080', | ||
url: 'https://www.amazon.es/dp/B08HGYXP4C' | ||
}, | ||
{ | ||
brand: 'evga', | ||
model: 'xc3 ultra', | ||
series: '3080', | ||
url: 'https://www.amazon.es/dp/B08HJ9XFNM' | ||
}, | ||
{ | ||
brand: 'evga', | ||
model: 'ftw3', | ||
series: '3080', | ||
url: 'https://www.amazon.es/dp/B08HGBYWQ6' | ||
}, | ||
{ | ||
brand: 'evga', | ||
model: 'xc3', | ||
series: '3080', | ||
url: 'https://www.amazon.es/dp/B08HGLN78Q' | ||
}, | ||
{ | ||
brand: 'evga', | ||
model: 'xc3 black', | ||
series: '3080', | ||
url: 'https://www.amazon.es/dp/B08HH1BMQQ' | ||
}, | ||
{ | ||
brand: 'gigabyte', | ||
model: 'gaming oc', | ||
series: '3080', | ||
url: 'https://www.amazon.es/dp/B08HLZXHZY' | ||
}, | ||
{ | ||
brand: 'gigabyte', | ||
model: 'eagle oc', | ||
series: '3080', | ||
url: 'https://www.amazon.es/dp/B08HHZVZ3N' | ||
}, | ||
{ | ||
brand: 'asus', | ||
model: 'tuf', | ||
series: '3080', | ||
url: 'https://www.amazon.es/dp/B08HN37VQK' | ||
}, | ||
{ | ||
brand: 'asus', | ||
model: 'tuf oc', | ||
series: '3080', | ||
url: 'https://www.amazon.es/dp/B08HN4DSTC' | ||
}, | ||
{ | ||
brand: 'asus', | ||
model: 'rog strix oc', | ||
series: '3080', | ||
url: 'https://www.amazon.es/dp/B08HN6KYS3' | ||
}, | ||
{ | ||
brand: 'msi', | ||
model: 'ventus 3x oc', | ||
series: '3080', | ||
url: 'https://www.amazon.es/dp/B08HM4M621' | ||
}, | ||
{ | ||
brand: 'zotac', | ||
model: 'trinity', | ||
series: '3080', | ||
url: 'https://www.amazon.es/dp/B08HR1NPPQ' | ||
} | ||
], | ||
name: 'amazon-es' | ||
}; |
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,144 @@ | ||
import {Store} from './store'; | ||
|
||
export const PCComponentes: Store = { | ||
labels: { | ||
inStock: { | ||
container: '#btnsWishAddBuy', | ||
text: ['Comprar'] | ||
}, | ||
outOfStock: { | ||
container: '#btnsWishAddBuy', | ||
text: ['Av铆same'] | ||
} | ||
}, | ||
links: [ | ||
{ | ||
brand: 'test:brand', | ||
model: 'test:model', | ||
series: 'test:series', | ||
url: 'https://www.pccomponentes.com/gigabyte-geforce-gtx-1660-super-oc-6gb-gddr6' | ||
}, | ||
{ | ||
brand: 'gigabyte', | ||
model: 'eagle oc', | ||
series: '3080', | ||
url: 'https://www.pccomponentes.com/gigabyte-geforce-rtx-3080-eagle-oc-10g-10gb-gddr6x' | ||
}, | ||
{ | ||
brand: 'msi', | ||
model: 'ventus 3x oc', | ||
series: '3080', | ||
url: 'https://www.pccomponentes.com/msi-geforce-rtx-3080-ventus-3x-oc-10gb-gddr6x' | ||
}, | ||
{ | ||
brand: 'asus', | ||
model: 'tuf gaming', | ||
series: '3080', | ||
url: 'https://www.pccomponentes.com/asus-tuf-geforce-rtx-3080-10gb-gddr6x' | ||
}, | ||
{ | ||
brand: 'gigabyte', | ||
model: 'gaming oc', | ||
series: '3080', | ||
url: 'https://www.pccomponentes.com/gigabyte-geforce-rtx-3080-gaming-oc-10g-10gb-gddr6x' | ||
}, | ||
{ | ||
brand: 'msi', | ||
model: 'gaming x trio', | ||
series: '3080', | ||
url: 'https://www.pccomponentes.com/msi-geforce-rtx-3080-gaming-x-trio-10gb-gddr6x' | ||
}, | ||
{ | ||
brand: 'asus', | ||
model: 'tuf oc gaming', | ||
series: '3080', | ||
url: 'https://www.pccomponentes.com/asus-tuf-geforce-rtx-3080-oc-10gb-gddr6x' | ||
}, | ||
{ | ||
brand: 'asus', | ||
model: 'rog strix oc gaming', | ||
series: '3080', | ||
url: 'https://www.pccomponentes.com/asus-rog-strix-geforce-rtx-3080-10g-gaming-oc-10gb-gddr6x' | ||
}, | ||
{ | ||
brand: 'evga', | ||
model: 'xc3 black gaming', | ||
series: '3080', | ||
url: 'https://www.pccomponentes.com/evga-geforce-rtx-3080-xc3-black-gaming-10gb-gddr6x' | ||
}, | ||
{ | ||
brand: 'zotac', | ||
model: 'trinity', | ||
series: '3080', | ||
url: 'https://www.pccomponentes.com/zotac-gaming-geforce-rtx-3080-trinity-10gb-gddr6x' | ||
}, | ||
{ | ||
brand: 'evga', | ||
model: 'xc3 ultra gaming', | ||
series: '3080', | ||
url: 'https://www.pccomponentes.com/evga-geforce-rtx-3080-xc3-ultra-gaming-10gb-gddr6x' | ||
}, | ||
{ | ||
brand: 'asus', | ||
model: 'rog strix gaming', | ||
series: '3080', | ||
url: 'https://www.pccomponentes.com/asus-rog-strix-geforce-rtx-3080-gaming-10gb-gddr6x' | ||
}, | ||
{ | ||
brand: 'zotac', | ||
model: 'trinity oc', | ||
series: '3080', | ||
url: 'https://www.pccomponentes.com/zotac-gaming-geforce-rtx-3080-trinity-oc-10gb-gddr6x' | ||
}, | ||
{ | ||
brand: 'gigabyte', | ||
model: 'vision oc', | ||
series: '3080', | ||
url: 'https://www.pccomponentes.com/gigabyte-geforce-rtx-3080-vision-oc-10gb-gddr6x' | ||
}, | ||
{ | ||
brand: 'evga', | ||
model: 'xc3 gaming', | ||
series: '3080', | ||
url: 'https://www.pccomponentes.com/evga-geforce-rtx-3080-xc3-gaming-10gb-gddr6x' | ||
}, | ||
{ | ||
brand: 'evga', | ||
model: 'ftw3 ultra gaming', | ||
series: '3080', | ||
url: 'https://www.pccomponentes.com/evga-geforce-rtx-3080-ftw3-ultra-gaming-10gb-gddr6x' | ||
}, | ||
{ | ||
brand: 'gigabyte', | ||
model: 'aorus master', | ||
series: '3080', | ||
url: 'https://www.pccomponentes.com/gigabyte-aorus-geforce-rtx-3080-master-10gb-gddr6x' | ||
}, | ||
{ | ||
brand: 'gigabyte', | ||
model: 'aorus xtreme', | ||
series: '3080', | ||
url: 'https://www.pccomponentes.com/gigabyte-aorus-geforce-rtx-3080-xtreme-10gb-gddr6x' | ||
}, | ||
{ | ||
brand: 'evga', | ||
model: 'ftw3 gaming', | ||
series: '3080', | ||
url: 'https://www.pccomponentes.com/evga-geforce-rtx-3080-ftw3-gaming-10gb-gddr6x' | ||
}, | ||
{ | ||
brand: 'pny', | ||
model: 'xlr8 rgb', | ||
series: '3080', | ||
url: 'https://www.pccomponentes.com/pny-geforce-rtx-3080-xlr8-gaming-epic-x-rgb-10gb-gddr6x' | ||
}, | ||
{ | ||
brand: 'pny', | ||
model: 'xlr8', | ||
series: '3080', | ||
url: 'https://www.pccomponentes.com/pny-geforce-rtx-3080-epic-x-rgb-triple-fan-xlr8-gaming-edition-10gb-gddr6x' | ||
} | ||
], | ||
name: 'pccomponentes' | ||
}; | ||
|