Skip to content

Commit

Permalink
feat(store): add newegg.ca (#160)
Browse files Browse the repository at this point in the history
closes #159
  • Loading branch information
Nolij authored Sep 21, 2020
1 parent 6413144 commit 76f5849
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ Here is a list of variables that you can use to customize your newly copied `.en
| EVGA | `evga`|
| Micro Center | `microcenter`|
| Newegg | `newegg`|
| Newegg.ca | `newegg-ca`|
| Nvidia | `nvidia`|

#### Supported carriers
Expand Down
2 changes: 2 additions & 0 deletions src/store/model/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {Config} from '../../config';
import {Evga} from './evga';
import {MicroCenter} from './microcenter';
import {NewEgg} from './newegg';
import {NewEggCa} from './newegg-ca';
import {Nvidia} from './nvidia';
import {Store} from './store';

Expand All @@ -22,6 +23,7 @@ const masterList = new Map([
[Evga.name, Evga],
[MicroCenter.name, MicroCenter],
[NewEgg.name, NewEgg],
[NewEggCa.name, NewEggCa],
[Nvidia.name, Nvidia]
]);

Expand Down
77 changes: 77 additions & 0 deletions src/store/model/newegg-ca.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
import {Store} from './store';

export const NewEggCa: Store = {
links: [
{
brand: 'TEST',
model: 'CARD',
series: 'debug',
url: 'https://www.newegg.ca/evga-geforce-rtx-2060-06g-p4-2066-kr/p/N82E16814487488'
},
{
brand: 'asus',
model: 'tuf',
series: '3080',
url: 'https://www.newegg.ca/asus-geforce-rtx-3080-tuf-rtx3080-10g-gaming/p/N82E16814126453'
},
{
brand: 'evga',
model: 'xc3 black',
series: '3080',
url: 'https://www.newegg.ca/evga-geforce-rtx-3080-10g-p5-3881-kr/p/N82E16814487522'
},
{
brand: 'evga',
model: 'xc3',
series: '3080',
url: 'https://www.newegg.ca/evga-geforce-rtx-3080-10g-p5-3883-kr/p/N82E16814487521'
},
{
brand: 'evga',
model: 'xc3 ultra',
series: '3080',
url: 'https://www.newegg.ca/evga-geforce-rtx-3080-10g-p5-3885-kr/p/N82E16814487520'
},
{
brand: 'msi',
model: 'ventus 3x oc',
series: '3080',
url: 'https://www.newegg.ca/msi-geforce-rtx-3080-rtx-3080-ventus-3x-10g-oc/p/N82E16814137598'
},
{
brand: 'msi',
model: 'gaming x trio',
series: '3080',
url: 'https://www.newegg.ca/msi-geforce-rtx-3080-rtx-3080-gaming-x-trio-10g/p/N82E16814137597'
},
{
brand: 'gigabyte',
model: 'gaming oc',
series: '3080',
url: 'https://www.newegg.ca/gigabyte-geforce-rtx-3080-gv-n3080gaming-oc-10gd/p/N82E16814932329'
},
{
brand: 'gigabyte',
model: 'eagle oc',
series: '3080',
url: 'https://www.newegg.ca/gigabyte-geforce-rtx-3080-gv-n3080eagle-oc-10gd/p/N82E16814932330'
},
{
brand: 'zotac',
model: 'trinity',
series: '3080',
url: 'https://www.newegg.ca/zotac-geforce-rtx-3080-zt-a30800d-10p/p/N82E16814500502'
},
{
brand: 'asus',
model: 'tuf oc',
series: '3080',
url: 'https://www.newegg.ca/asus-geforce-rtx-3080-tuf-rtx3080-o10g-gaming/p/N82E16814126452'
}
],
labels: {
captcha: ['are you a human?'],
outOfStock: ['auto notify', 'item is currently out of stock']
},
name: 'newegg-ca'
};

0 comments on commit 76f5849

Please sign in to comment.