File tree 7 files changed +91
-0
lines changed
7 files changed +91
-0
lines changed Original file line number Diff line number Diff line change @@ -316,6 +316,7 @@ const store = {
316
316
ryzen5800 : envOrNumber ( process . env . MAX_PRICE_SERIES_RYZEN5800 ) ,
317
317
ryzen5900 : envOrNumber ( process . env . MAX_PRICE_SERIES_RYZEN5900 ) ,
318
318
ryzen5950 : envOrNumber ( process . env . MAX_PRICE_SERIES_RYZEN5950 ) ,
319
+ sf : envOrNumber ( process . env . MAX_PRICE_SERIES_CORSAIR_SF ) ,
319
320
sonyps5c : - 1 ,
320
321
sonyps5de : - 1 ,
321
322
'test:series' : - 1 ,
Original file line number Diff line number Diff line change @@ -491,6 +491,22 @@ export const Amazon: Store = {
491
491
model : 'xbox series s' ,
492
492
series : 'xboxss' ,
493
493
url : 'https://www.amazon.com/dp/B08G9J44ZN'
494
+ } ,
495
+ {
496
+ brand : 'corsair' ,
497
+ cartUrl :
498
+ 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B07M63H81H&Quantity.1=1' ,
499
+ model : '750 platinum' ,
500
+ series : 'sf' ,
501
+ url : 'https://www.amazon.com/dp/B07M63H81H'
502
+ } ,
503
+ {
504
+ brand : 'corsair' ,
505
+ cartUrl :
506
+ 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B07F84FJ1G&Quantity.1=1' ,
507
+ model : '600 platinum' ,
508
+ series : 'sf' ,
509
+ url : 'https://www.amazon.com/dp/B07F84FJ1G'
494
510
}
495
511
] ,
496
512
name : 'amazon'
Original file line number Diff line number Diff line change @@ -187,6 +187,20 @@ export const BAndH: Store = {
187
187
series : 'ryzen5600' ,
188
188
url :
189
189
'https://www.bhphotovideo.com/c/product/1598377-REG/amd_100_100000065box_ryzen_5_5600x_3_7.html'
190
+ } ,
191
+ {
192
+ brand : 'amd' ,
193
+ model : '5600x' ,
194
+ series : 'ryzen5600' ,
195
+ url :
196
+ 'https://www.bhphotovideo.com/c/product/1598377-REG/amd_100_100000065box_ryzen_5_5600x_3_7.html'
197
+ } ,
198
+ {
199
+ brand : 'corsair' ,
200
+ model : '750 platinum' ,
201
+ series : 'sf' ,
202
+ url :
203
+ 'https://www.bhphotovideo.com/c/product/1560680-REG/corsair_cp_9020186_na_corsair_sf750_power_supply.html'
190
204
}
191
205
] ,
192
206
name : 'bandh'
Original file line number Diff line number Diff line change @@ -405,6 +405,22 @@ export const BestBuy: Store = {
405
405
series : 'rx6800xt' ,
406
406
url :
407
407
'https://www.bestbuy.com/site/xfx-amd-radeon-rx-6800xt-16gb-gddr6-pci-express-4-0-gaming-graphics-card-black/6441226.p?skuId=6441226'
408
+ } ,
409
+ {
410
+ brand : 'corsair' ,
411
+ cartUrl : 'https://api.bestbuy.com/click/-/6351845/cart' ,
412
+ model : '750 platinum' ,
413
+ series : 'sf' ,
414
+ url :
415
+ 'https://www.bestbuy.com/site/corsair-sf-series-750w-atx12v-2-4-eps12v-2-92-sfx12v-80-plus-platinum-modular-power-supply-black/6351845.p?skuId=6351845'
416
+ } ,
417
+ {
418
+ brand : 'corsair' ,
419
+ cartUrl : 'https://api.bestbuy.com/click/-/6351844/cart' ,
420
+ model : '600 platinum' ,
421
+ series : 'sf' ,
422
+ url :
423
+ 'https://www.bestbuy.com/site/corsair-sf-series-600w-atx12v-2-4-eps12v-2-92-sfx12v-80-plus-platinum-modular-power-supply-black/6351844.p?skuId=6351844'
408
424
}
409
425
] ,
410
426
name : 'bestbuy'
Original file line number Diff line number Diff line change
1
+ import { Store } from './store' ;
2
+
3
+ export const Corsair : Store = {
4
+ labels : {
5
+ inStock : {
6
+ container : '.add_to_cart_form' ,
7
+ text : [ 'add to cart' ]
8
+ } ,
9
+ maxPrice : {
10
+ container : '.product-price' ,
11
+ euroFormat : false
12
+ }
13
+ } ,
14
+ links : [
15
+ {
16
+ brand : 'test:brand' ,
17
+ model : 'test:model' ,
18
+ series : 'test:series' ,
19
+ url :
20
+ 'https://www.corsair.com/us/en/Categories/Products/Power-Supply-Units/Power-Supply-Units-Advanced/SF-Series/p/CP-9020181-NA'
21
+ } ,
22
+ {
23
+ brand : 'corsair' ,
24
+ model : '750 platinum' ,
25
+ series : 'sf' ,
26
+ url :
27
+ 'https://www.corsair.com/us/en/Categories/Products/Power-Supply-Units/Power-Supply-Units-Advanced/SF-Series/p/CP-9020186-NA'
28
+ } ,
29
+ {
30
+ brand : 'corsair' ,
31
+ model : '600 platinum' ,
32
+ series : 'sf' ,
33
+ url :
34
+ 'https://www.corsair.com/us/en/Categories/Products/Power-Supply-Units/Power-Supply-Units-Advanced/SF-Series/p/CP-9020182-NA'
35
+ }
36
+ ] ,
37
+ name : 'corsair'
38
+ } ;
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ import {Ccl} from './ccl';
26
26
import { Computeruniverse } from './computeruniverse' ;
27
27
import { Coolblue } from './coolblue' ;
28
28
import { Coolmod } from './coolmod' ;
29
+ import { Corsair } from './corsair' ;
29
30
import { Currys } from './currys' ;
30
31
import { Cyberport } from './cyberport' ;
31
32
import { Ebuyer } from './ebuyer' ;
@@ -92,6 +93,7 @@ export const storeList = new Map([
92
93
[ Computeruniverse . name , Computeruniverse ] ,
93
94
[ Coolblue . name , Coolblue ] ,
94
95
[ Coolmod . name , Coolmod ] ,
96
+ [ Corsair . name , Corsair ] ,
95
97
[ Currys . name , Currys ] ,
96
98
[ Cyberport . name , Cyberport ] ,
97
99
[ Ebuyer . name , Ebuyer ] ,
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ export type Brand =
15
15
| 'amd'
16
16
| 'asrock'
17
17
| 'asus'
18
+ | 'corsair'
18
19
| 'evga'
19
20
| 'gainward'
20
21
| 'gigabyte'
@@ -45,6 +46,7 @@ export type Series =
45
46
| 'ryzen5950'
46
47
| 'sonyps5c'
47
48
| 'sonyps5de'
49
+ | 'sf'
48
50
| 'xboxsx'
49
51
| 'xboxss' ;
50
52
@@ -54,6 +56,8 @@ export type Model =
54
56
| '5800x'
55
57
| '5900x'
56
58
| '5950x'
59
+ | '600 platinum'
60
+ | '750 platinum'
57
61
| 'amd reference'
58
62
| 'amp extreme holo'
59
63
| 'amp holo'
You can’t perform that action at this time.
0 commit comments