mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 02:57:34 +00:00
feat(store): support for canadacomputers (#772)
This commit is contained in:
@@ -155,6 +155,7 @@ environment variables are **optional**._
|
|||||||
| Best Buy | `bestbuy`|
|
| Best Buy | `bestbuy`|
|
||||||
| Best Buy (CA) | `bestbuy-ca`|
|
| Best Buy (CA) | `bestbuy-ca`|
|
||||||
| Box (UK) | `box`|
|
| Box (UK) | `box`|
|
||||||
|
| CanadaComputers (CA) | `canadacomputers
|
||||||
| Caseking (DE) | `caseking`|
|
| Caseking (DE) | `caseking`|
|
||||||
| CCL (UK) | `ccl`|
|
| CCL (UK) | `ccl`|
|
||||||
| Computeruniverse (DE) | `computeruniverse` |
|
| Computeruniverse (DE) | `computeruniverse` |
|
||||||
|
|||||||
@@ -0,0 +1,357 @@
|
|||||||
|
import {Store} from './store';
|
||||||
|
|
||||||
|
export const CanadaComputers: Store = {
|
||||||
|
labels: {
|
||||||
|
outOfStock: {
|
||||||
|
container: 'div[class="pi-prod-availability"]',
|
||||||
|
text: ['not available online']
|
||||||
|
}
|
||||||
|
},
|
||||||
|
links: [
|
||||||
|
{
|
||||||
|
brand: 'test:brand',
|
||||||
|
model: 'test:model',
|
||||||
|
series: 'test:series',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181348'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'eagle',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183101'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'xc3 black',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183500'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183099'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'gaming x trio',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183210'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'dual',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183635'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'dual oc',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183636'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'strix oc',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183637'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'vision oc',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=184168'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'aorus master',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=184167'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
model: 'twin edge oc',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183561'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'ventus 2x oc',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183208'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
model: 'twin edge',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183560'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183638'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'ftw3 ultra',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183498'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'ventus 3x oc',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183209'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'eagle oc',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183100'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'xc3 ultra',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183499'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'gaming',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=184743'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'ftw3 ultra',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181376'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'strix',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181842'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'gaming x trio',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181348'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'eagle oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181354'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'gaming',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181416'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'xc3 ultra',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181375'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
model: 'trinity',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181420'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
model: 'trinity oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=184837'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181415'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181353'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'gaming',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=184743'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'ventus 3x',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181347'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'aorus master',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=182754'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'xc3 black',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181797'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'vision oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=182755'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'aorus xtreme',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183098'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
model: 'trinity oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183510'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'eagle oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=184166'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'xc3',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181798'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'strix oc',
|
||||||
|
series: '3090',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181841'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'ftw3 ultra',
|
||||||
|
series: '3090',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181854'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3090',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181413'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
model: 'trinity',
|
||||||
|
series: '3090',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181419'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3090',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181351'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'gaming x trio',
|
||||||
|
series: '3090',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181350'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'gaming',
|
||||||
|
series: '3090',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181414'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'ventus 3x',
|
||||||
|
series: '3090',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181349'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'xc3 ultra',
|
||||||
|
series: '3090',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181853'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'aorus xtreme',
|
||||||
|
series: '3090',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183096'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'eagle oc',
|
||||||
|
series: '3090',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181352'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
name: 'canadacomputers',
|
||||||
|
waitUntil: 'domcontentloaded'
|
||||||
|
};
|
||||||
@@ -19,6 +19,7 @@ import {BAndH} from './bandh';
|
|||||||
import {BestBuy} from './bestbuy';
|
import {BestBuy} from './bestbuy';
|
||||||
import {BestBuyCa} from './bestbuy-ca';
|
import {BestBuyCa} from './bestbuy-ca';
|
||||||
import {Box} from './box';
|
import {Box} from './box';
|
||||||
|
import {CanadaComputers} from './canadacomputers';
|
||||||
import {Caseking} from './caseking';
|
import {Caseking} from './caseking';
|
||||||
import {Ccl} from './ccl';
|
import {Ccl} from './ccl';
|
||||||
import {Computeruniverse} from './computeruniverse';
|
import {Computeruniverse} from './computeruniverse';
|
||||||
@@ -80,6 +81,7 @@ export const storeList = new Map([
|
|||||||
[BestBuyCa.name, BestBuyCa],
|
[BestBuyCa.name, BestBuyCa],
|
||||||
[Box.name, Box],
|
[Box.name, Box],
|
||||||
[Caseking.name, Caseking],
|
[Caseking.name, Caseking],
|
||||||
|
[CanadaComputers.name, CanadaComputers],
|
||||||
[Ccl.name, Ccl],
|
[Ccl.name, Ccl],
|
||||||
[Computeruniverse.name, Computeruniverse],
|
[Computeruniverse.name, Computeruniverse],
|
||||||
[Coolblue.name, Coolblue],
|
[Coolblue.name, Coolblue],
|
||||||
|
|||||||
Reference in New Issue
Block a user