feat(store): add gamestop (#390)

This commit is contained in:
Grant
2020-09-30 11:14:42 -04:00
committed by GitHub
parent fdd92f9d65
commit 7148451b66
3 changed files with 30 additions and 0 deletions
+1
View File
@@ -140,6 +140,7 @@ Here is a list of variables that you can use to customize your newly copied `.en
| Best Buy (CA) | `bestbuy-ca`|
| EVGA | `evga`|
| EVGA (EU) | `evga-eu`|
| Gamestop | `gamestop`|
| Micro Center | `microcenter`|
| Newegg | `newegg`|
| Newegg (CA) | `newegg-ca`|
+27
View File
@@ -0,0 +1,27 @@
import {Store} from './store';
export const Gamestop: Store = {
labels: {
inStock: {
container: '#item_add_cart',
text: ['add to cart']
}
},
links: [
{
brand: 'test:brand',
model: 'test:model',
series: 'test:series',
url: 'https://www.gamestop.com/video-games/pc/components/graphics-cards/products/tuf-gaming-geforce-rtx-3080-graphics-card/11109446.html'
},
{
brand: 'asus',
model: 'tuf oc',
series: '3080',
url: 'https://www.gamestop.com/video-games/pc/components/graphics-cards/products/tuf-gaming-geforce-rtx-3080-graphics-card/11109446.html'
}
],
name: 'gamestop',
successStatusCodes: [[0, 399], 404]
};
+2
View File
@@ -10,6 +10,7 @@ import {BestBuyCa} from './bestbuy-ca';
import {Config} from '../../config';
import {Evga} from './evga';
import {EvgaEu} from './evga-eu';
import {Gamestop} from './gamestop';
import {Logger} from '../../logger';
import {MicroCenter} from './microcenter';
import {Newegg} from './newegg';
@@ -33,6 +34,7 @@ const masterList = new Map([
[BestBuyCa.name, BestBuyCa],
[Evga.name, Evga],
[EvgaEu.name, EvgaEu],
[Gamestop.name, Gamestop],
[MicroCenter.name, MicroCenter],
[Newegg.name, Newegg],
[NeweggCa.name, NeweggCa],