mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 08:47:43 +00:00
feat(store): add gamestop (#390)
This commit is contained in:
@@ -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]
|
||||
};
|
||||
|
||||
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user