feat(store): add Megekko (#1216)

This commit is contained in:
Hangur
2020-12-08 14:36:20 +01:00
committed by GitHub
parent 84a6ff5973
commit 30bed2ac01
4 changed files with 168 additions and 3 deletions
+2
View File
@@ -52,6 +52,7 @@ import {GamestopDE} from './gamestop-de';
import {Kabum} from './kabum';
import {Mediamarkt} from './mediamarkt';
import {Medimax} from './medimax';
import {Megekko} from './megekko';
import {MemoryExpress} from './memoryexpress';
import {MicroCenter} from './microcenter';
import {Mindfactory} from './mindfactory';
@@ -139,6 +140,7 @@ export const storeList = new Map([
[Kabum.name, Kabum],
[Mediamarkt.name, Mediamarkt],
[Medimax.name, Medimax],
[Megekko.name, Megekko],
[MemoryExpress.name, MemoryExpress],
[MicroCenter.name, MicroCenter],
[Mindfactory.name, Mindfactory],
+159
View File
@@ -0,0 +1,159 @@
import {Store} from './store';
export const Megekko: Store = {
labels: {
inStock: {
container: '.product-order .text_green',
text: ['dag', 'werkdag']
},
maxPrice: {
container: '.col_right_container .euro',
euroFormat: false
},
outOfStock: {
container: '.product_detail .text_red',
text: ['minimaal 10 dagen']
}
},
links: [
{
brand: 'test:brand',
model: 'test:model',
series: 'test:series',
url: 'https://www.megekko.nl/product/351421/'
},
{
brand: 'asus',
model: 'tuf',
series: '3080',
url: 'https://www.megekko.nl/product/1118232/'
},
{
brand: 'asus',
model: 'strix',
series: '3080',
url: 'https://www.megekko.nl/product/1119242/'
},
{
brand: 'asus',
model: 'strix oc',
series: '3080',
url: 'https://www.megekko.nl/product/1119243/'
},
{
brand: 'asus',
model: 'tuf oc',
series: '3080',
url: 'https://www.megekko.nl/product/1118233/'
},
{
brand: 'evga',
model: 'ftw3 ultra',
series: '3080',
url: 'https://www.megekko.nl/product/1118248/'
},
{
brand: 'evga',
model: 'ftw3 ultra',
series: '3080',
url: 'https://www.megekko.nl/product/1118249/'
},
{
brand: 'evga',
model: 'xc3',
series: '3080',
url: 'https://www.megekko.nl/product/1118247/'
},
{
brand: 'evga',
model: 'xc3 ultra',
series: '3080',
url: 'https://www.megekko.nl/product/1118260/'
},
{
brand: 'evga',
model: 'xc3 black',
series: '3080',
url: 'https://www.megekko.nl/product/1118246/'
},
{
brand: 'gigabyte',
model: 'gaming oc',
series: '3080',
url: 'https://www.megekko.nl/product/292736/'
},
{
brand: 'gigabyte',
model: 'vision oc',
series: '3080',
url: 'https://www.megekko.nl/product/293966/'
},
{
brand: 'gigabyte',
model: 'aorus master',
series: '3080',
url: 'https://www.megekko.nl/product/293965/'
},
{
brand: 'gigabyte',
model: 'aorus xtreme',
series: '3080',
url: 'https://www.megekko.nl/product/293964/'
},
{
brand: 'gigabyte',
model: 'aorus xtreme waterforce',
series: '3080',
url: 'https://www.megekko.nl/product/296925/'
},
{
brand: 'gigabyte',
model: 'eagle',
series: '3080',
url: 'https://www.megekko.nl/product/1125074/'
},
{
brand: 'gigabyte',
model: 'eagle oc',
series: '3080',
url: 'https://www.megekko.nl/product/292735/'
},
{
brand: 'inno3d',
model: 'ichill frostbite',
series: '3080',
url: 'https://www.megekko.nl/product/1125524/'
},
{
brand: 'inno3d',
model: 'ichill x3',
series: '3080',
url: 'https://www.megekko.nl/product/1118236/'
},
{
brand: 'inno3d',
model: 'ichill x4',
series: '3080',
url: 'https://www.megekko.nl/product/1118237/'
},
{
brand: 'msi',
model: 'gaming x trio',
series: '3080',
url: 'https://www.megekko.nl/product/292742/'
},
{
brand: 'msi',
model: 'ventus 3x oc',
series: '3080',
url: 'https://www.megekko.nl/product/292740/'
},
{
brand: 'msi',
model: 'suprim x',
series: '3080',
url: 'https://www.megekko.nl/product/295473/'
}
],
name: 'megekko'
};
+3
View File
@@ -64,6 +64,7 @@ export type Model =
| 'amp holo'
| 'aorus master'
| 'aorus xtreme'
| 'aorus xtreme waterforce'
| 'aorus'
| 'challenger'
| 'dual fan'
@@ -81,10 +82,12 @@ export type Model =
| 'gaming pro'
| 'gaming x trio'
| 'gaming x3'
| 'suprim x'
| 'gaming'
| 'ichill x2'
| 'ichill x3'
| 'ichill x4'
| 'ichill frostbite'
| 'ko'
| 'nitro+'
| 'nitro oc se'