diff --git a/README.md b/README.md index 3f5bcd4..ebfce2e 100644 --- a/README.md +++ b/README.md @@ -167,6 +167,7 @@ environment variables are **optional**._ | Galaxus (DE) | `galaxus`| | Game (UK) | `game`| | Gamestop | `gamestop`| +| Kabum (BR) | `kabum`| | Mediamarkt (DE) | `mediamarkt`| | MemoryExpress (CA) | `memoryexpress`| | Micro Center | `microcenter`| diff --git a/src/store/model/index.ts b/src/store/model/index.ts index e947757..1d9b642 100644 --- a/src/store/model/index.ts +++ b/src/store/model/index.ts @@ -32,6 +32,7 @@ import {EvgaEu} from './evga-eu'; import {Galaxus} from './galaxus'; import {Game} from './game'; import {Gamestop} from './gamestop'; +import {Kabum} from './kabum'; import {Mediamarkt} from './mediamarkt'; import {MemoryExpress} from './memoryexpress'; import {MicroCenter} from './microcenter'; @@ -91,6 +92,7 @@ export const storeList = new Map([ [Galaxus.name, Galaxus], [Game.name, Game], [Gamestop.name, Gamestop], + [Kabum.name, Kabum], [Mediamarkt.name, Mediamarkt], [MemoryExpress.name, MemoryExpress], [MicroCenter.name, MicroCenter], diff --git a/src/store/model/kabum.ts b/src/store/model/kabum.ts new file mode 100644 index 0000000..5b851f6 --- /dev/null +++ b/src/store/model/kabum.ts @@ -0,0 +1,171 @@ +import {Store} from './store'; + +export const Kabum: Store = { + labels: { + inStock: { + container: '.botao-comprar', + text: ['comprar'] + }, + outOfStock: { + container: '.bot_comprar', + text: ['indisponível'] + } + }, + links: [ + // AMD + { + brand: 'amd', + model: '5950x', + series: 'ryzen5950', + url: 'https://www.kabum.com.br/produto/129461' + }, + { + brand: 'amd', + model: '5900x', + series: 'ryzen5900', + url: 'https://www.kabum.com.br/produto/129460' + }, + { + brand: 'amd', + model: '5800x', + series: 'ryzen5800', + url: 'https://www.kabum.com.br/produto/129459' + }, + { + brand: 'amd', + model: '5600x', + series: 'ryzen5600', + url: 'https://www.kabum.com.br/produto/129451' + }, + // 3070 + { + brand: 'gigabyte', + model: 'gaming oc', + series: '3070', + url: 'https://www.kabum.com.br/produto/130209' + }, + { + brand: 'gigabyte', + model: 'eagle oc', + series: '3070', + url: 'https://www.kabum.com.br/produto/130210' + }, + { + brand: 'evga', + model: 'xc3 black', + series: '3070', + url: 'https://www.kabum.com.br/produto/129938' + }, + { + brand: 'asus', + model: 'dual fan', + series: '3070', + url: 'https://www.kabum.com.br/produto/128634' + }, + { + brand: 'asus', + model: 'dual fan', + series: '3070', + url: 'https://www.kabum.com.br/produto/128635' + }, + { + brand: 'msi', + model: 'gaming x trio', + series: '3070', + url: 'https://www.kabum.com.br/produto/130379' + }, + { + brand: 'msi', + model: 'ventus 3x oc', + series: '3070', + url: 'https://www.kabum.com.br/produto/130380' + }, + { + brand: 'msi', + model: 'ventus 2x oc', + series: '3070', + url: 'https://www.kabum.com.br/produto/130381' + }, + { + brand: 'zotac', + model: 'twin edge', + series: '3070', + url: 'https://www.kabum.com.br/produto/129208' + }, + { + brand: 'zotac', + model: 'twin edge oc', + series: '3070', + url: 'https://www.kabum.com.br/produto/129207' + }, + // 3080 + { + brand: 'msi', + model: 'gaming x trio', + series: '3080', + url: 'https://www.kabum.com.br/produto/127409' + }, + { + brand: 'msi', + model: 'ventus 3x', + series: '3080', + url: 'https://www.kabum.com.br/produto/127410' + }, + { + brand: 'asus', + model: 'tuf', + series: '3080', + url: 'https://www.kabum.com.br/produto/121138' + }, + { + brand: 'gigabyte', + model: 'eagle oc', + series: '3080', + url: 'https://www.kabum.com.br/produto/128078' + }, + { + brand: 'evga', + model: 'ichill x3', + series: '3080', + url: 'https://www.kabum.com.br/produto/128051' + }, + { + brand: 'evga', + model: 'ichill x3', + series: '3080', + url: 'https://www.kabum.com.br/produto/128052' + }, + // 3090 + { + brand: 'msi', + model: 'gaming x trio', + series: '3090', + url: 'https://www.kabum.com.br/produto/127407' + }, + { + brand: 'msi', + model: 'ventus 3x', + series: '3090', + url: 'https://www.kabum.com.br/produto/127408' + }, + { + brand: 'asus', + model: 'tuf', + series: '3090', + url: 'https://www.kabum.com.br/produto/127511' + }, + { + brand: 'asus', + model: 'strix', + series: '3090', + url: 'https://www.kabum.com.br/produto/128026' + }, + { + brand: 'gigabyte', + model: 'gaming', + series: '3090', + url: 'https://www.kabum.com.br/produto/128199' + } + ], + name: 'kabum' +};