Skip to content

Commit ce6d084

Browse files
Mr-Tech-13jef
andauthored
feat: add more 50xx series, add templates for adding more links (#3191)
As stated in the title I added 50 series links for Bestbuy, Newegg, Pny, and Zotac. I also added some AMD CPUs. I also made copy paste templates at the bottom so it is easier to bulk add cards. The biggest thing was adding all of the Ubiquiti Switches, Cameras, Wifi, and Firewalls. Enjoy! --------- Co-authored-by: Jef LeCompte <jeffreylec@gmail.com>
1 parent e18f231 commit ce6d084

File tree

12 files changed

+666
-3
lines changed

12 files changed

+666
-3
lines changed

dotenv-example

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ DISCORD_NOTIFY_GROUP_RYZEN5600=
4343
DISCORD_NOTIFY_GROUP_RYZEN5800=
4444
DISCORD_NOTIFY_GROUP_RYZEN5900=
4545
DISCORD_NOTIFY_GROUP_RYZEN5950=
46+
DISCORD_NOTIFY_GROUP_RYZEN7800X3D=
47+
DISCORD_NOTIFY_GROUP_RYZEN9800X3D=
48+
DISCORD_NOTIFY_GROUP_RYZEN9950X=
49+
DISCORD_NOTIFY_GROUP_RYZEN9900X=
50+
DISCORD_NOTIFY_GROUP_RYZEN9700X=
51+
DISCORD_NOTIFY_GROUP_RYZEN9600X=
4652
DISCORD_NOTIFY_GROUP_SONYPS5C=
4753
DISCORD_NOTIFY_GROUP_SONYPS5DE=
4854
DISCORD_NOTIFY_GROUP_XBOXSX=
@@ -79,6 +85,12 @@ MAX_PRICE_SERIES_RYZEN5600=
7985
MAX_PRICE_SERIES_RYZEN5800=
8086
MAX_PRICE_SERIES_RYZEN5900=
8187
MAX_PRICE_SERIES_RYZEN5950=
88+
MAX_PRICE_SERIES_RYZEN7800X3D=
89+
MAX_PRICE_SERIES_RYZEN9800X3D=
90+
MAX_PRICE_SERIES_RYZEN9950X=
91+
MAX_PRICE_SERIES_RYZEN9900X=
92+
MAX_PRICE_SERIES_RYZEN9700X=
93+
MAX_PRICE_SERIES_RYZEN9600X=
8294
MAX_PRICE_SERIES_SONYPS5C=
8395
MAX_PRICE_SERIES_SONYPS5DE=
8496
MAX_PRICE_SERIES_XBOXSS=

src/config.ts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,12 @@ const notifications = {
254254
ryzen5800: envOrArray(process.env.DISCORD_NOTIFY_GROUP_RYZEN5800),
255255
ryzen5900: envOrArray(process.env.DISCORD_NOTIFY_GROUP_RYZEN5900),
256256
ryzen5950: envOrArray(process.env.DISCORD_NOTIFY_GROUP_RYZEN5950),
257+
ryzen7800x3d: envOrArray(process.env.DISCORD_NOTIFY_GROUP_RYZEN7800X3D),
258+
ryzen9800x3d: envOrArray(process.env.DISCORD_NOTIFY_GROUP_RYZEN9800X3D),
259+
ryzen9600x: envOrArray(process.env.DISCORD_NOTIFY_GROUP_RYZEN9600X),
260+
ryzen9700x: envOrArray(process.env.DISCORD_NOTIFY_GROUP_RYZEN9700X),
261+
ryzen9900x: envOrArray(process.env.DISCORD_NOTIFY_GROUP_RYZEN9900X),
262+
ryzen9950x: envOrArray(process.env.DISCORD_NOTIFY_GROUP_RYZEN9950X),
257263
sf: envOrArray(process.env.DISCORD_NOTIFY_GROUP_CORSAIR_SF),
258264
sonyps5c: envOrArray(process.env.DISCORD_NOTIFY_GROUP_SONYPS5C),
259265
sonyps5de: envOrArray(process.env.DISCORD_NOTIFY_GROUP_SONYPS5DE),
@@ -451,7 +457,12 @@ const store = {
451457
ryzen5900: envOrNumber(process.env.MAX_PRICE_SERIES_RYZEN5900),
452458
ryzen5950: envOrNumber(process.env.MAX_PRICE_SERIES_RYZEN5950),
453459
ryzen7950x: envOrNumber(process.env.MAX_PRICE_SERIES_RYZEN7950X),
454-
ryzen9800x3d: envOrNumber(process.env.MAX_PRICE_SERIES_RYZEN9800X3D),
460+
ryzen7800x3d: envOrNumber(process.env.MAX_PRICE_SERIES_RYZEN7800X3D),
461+
ryzen9800x3d: envOrNumber(process.env.MAX_PRICE_SERIES_RYZEN9800XX3D),
462+
ryzen9600x: envOrNumber(process.env.MAX_PRICE_SERIES_RYZEN9600X),
463+
ryzen9700x: envOrNumber(process.env.MAX_PRICE_SERIES_RYZEN9700X),
464+
ryzen9900x: envOrNumber(process.env.MAX_PRICE_SERIES_RYZEN9900X),
465+
ryzen9950x: envOrNumber(process.env.MAX_PRICE_SERIES_RYZEN9950X),
455466
sf: envOrNumber(process.env.MAX_PRICE_SERIES_CORSAIR_SF),
456467
sonyps5c: envOrNumber(process.env.MAX_PRICE_SERIES_SONYPS5C),
457468
sonyps5de: envOrNumber(process.env.MAX_PRICE_SERIES_SONYPS5DE),
@@ -497,6 +508,11 @@ const store = {
497508
'ryzen5900',
498509
'ryzen5950',
499510
'ryzen7950',
511+
'ryzen9600x',
512+
'ryzen9700x',
513+
'ryzen9900x',
514+
'ryzen9950x',
515+
'ryzen7800x3d',
500516
'ryzen9800x3d',
501517
'sf',
502518
'sonyps5c',

src/store/model/amazon.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -982,3 +982,19 @@ export const Amazon: Store = {
982982
],
983983
name: 'amazon',
984984
};
985+
986+
/* Copy Paste Template
987+
988+
Copy the product id from the amazon URL.
989+
For example if you have https://www.amazon.com/gp/product/B08M9R8HQY just copy B08M9R8HQY.
990+
Paste it after ASIN.1= in the cartUrl and at the end of /dp/ in the url.
991+
992+
{
993+
brand: '',
994+
cartUrl:
995+
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=&Quantity.1=1',
996+
model: '',
997+
series: '',
998+
url: 'https://www.amazon.com/dp/',
999+
},
1000+
*/

src/store/model/amd.ts

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,55 @@ export const Amd: Store = {
9191
series: 'rx6700xt',
9292
url: 'https://www.amd.com/en/direct-buy/5496921400/us',
9393
},
94+
{
95+
brand: 'amd',
96+
model: '9800x3d',
97+
series: 'ryzen9800x3d',
98+
url: 'https://shop-us-en.amd.com/amd-ryzen-7-9800x3d-processor/',
99+
},
100+
{
101+
brand: 'amd',
102+
model: '9950x',
103+
series: 'ryzen9950x',
104+
url: 'https://shop-us-en.amd.com/amd-ryzen-9-9950x-processor/',
105+
},
106+
{
107+
brand: 'amd',
108+
model: '9900x',
109+
series: 'ryzen9900x',
110+
url: 'https://shop-us-en.amd.com/amd-ryzen-9-9900x-processor/',
111+
},
112+
{
113+
brand: 'amd',
114+
model: '9700x',
115+
series: 'ryzen9700x',
116+
url: 'https://shop-us-en.amd.com/amd-ryzen-7-9700x-processor/',
117+
},
118+
{
119+
brand: 'amd',
120+
model: '9600x',
121+
series: 'ryzen9600x',
122+
url: 'https://shop-us-en.amd.com/amd-ryzen-5-9600x-processor/',
123+
},
124+
{
125+
brand: 'amd',
126+
model: '7800x3d',
127+
series: 'ryzen7800x3d',
128+
url: 'https://shop-us-en.amd.com/amd-ryzen-7-7800x3d-processor/',
129+
},
94130
],
95131
name: 'amd',
96132
};
133+
134+
/* Copy Paste Template
135+
136+
As of 01-12-2025 I cant figure out the add to cart URL.
137+
For now just copy the product page URL into the url field. -agpuperson
138+
139+
{
140+
brand: 'amd',
141+
model: '',
142+
series: '',
143+
url: '',
144+
},
145+
*/

src/store/model/asus.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,3 +181,15 @@ export const Asus: Store = {
181181
},
182182
successStatusCodes: [[0, 399], 404],
183183
};
184+
185+
/* Copy Paste Template
186+
187+
Asus depreciated item numbers, do not use. Instead just copy and paste the links like normal.
188+
189+
{
190+
brand: '',
191+
model: '',
192+
series: '',
193+
url: '',
194+
},
195+
*/

src/store/model/bandh.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,3 +478,12 @@ export const BAndH: Store = {
478478
],
479479
name: 'bandh',
480480
};
481+
482+
/* Copy Paste Template
483+
{
484+
brand: 'pny',
485+
model: '',
486+
series: '',
487+
url: '',
488+
},
489+
*/

src/store/model/bestbuy-ca.ts

Lines changed: 133 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const BestBuyCa: Store = {
2323
brand: 'msi',
2424
model: 'ventus 3x',
2525
series: '3060',
26-
url: 'https://www.bestbuy.ca/en-ca/product/msi-nvidia-geforce-rtx-3060-ventus-3x-12gb-gddr6-video-card/15324508',
26+
url: 'https://www.bestbuy.ca/en-ca/product/16595219',
2727
},
2828
{
2929
brand: 'zotac',
@@ -229,7 +229,139 @@ export const BestBuyCa: Store = {
229229
series: '3080ti',
230230
url: 'https://www.bestbuy.ca/en-ca/product/nvidia-geforce-rtx-3080-ti-12gb-gddr6x-video-card/15530045',
231231
},
232+
{
233+
brand: 'nvidia',
234+
model: 'founders edition',
235+
series: '5090',
236+
url: 'https://www.bestbuy.ca/en-ca/product/18931348',
237+
},
238+
{
239+
brand: 'nvidia',
240+
model: 'founders edition',
241+
series: '5080',
242+
url: 'https://www.bestbuy.ca/en-ca/product/18931347',
243+
},
244+
{
245+
brand: 'asus',
246+
model: 'astral oc',
247+
series: '5090',
248+
url: 'https://www.bestbuy.ca/en-ca/product/19177947',
249+
},
250+
{
251+
brand: 'asus',
252+
model: 'astral oc',
253+
series: '5080',
254+
url: 'https://www.bestbuy.ca/en-ca/product/19177946',
255+
},
256+
{
257+
brand: 'asus',
258+
model: 'prime',
259+
series: '5080',
260+
url: 'https://www.bestbuy.ca/en-ca/product/18971064',
261+
},
262+
{
263+
brand: 'asus',
264+
model: 'tuf',
265+
series: '5090',
266+
url: 'https://www.bestbuy.ca/en-ca/product/18969272',
267+
},
268+
{
269+
brand: 'msi',
270+
model: 'ventus 3x oc',
271+
series: '5080',
272+
url: 'https://www.bestbuy.ca/en-ca/product/18938760',
273+
},
274+
{
275+
brand: 'msi',
276+
model: 'gaming trio oc',
277+
series: '5080',
278+
url: 'https://www.bestbuy.ca/en-ca/product/18938759',
279+
},
280+
{
281+
brand: 'msi',
282+
model: 'suprim liquid x',
283+
series: '5080',
284+
url: 'https://www.bestbuy.ca/en-ca/product/18938758',
285+
},
286+
{
287+
brand: 'msi',
288+
model: 'suprim liquid soc',
289+
series: '5080',
290+
url: 'https://www.bestbuy.ca/en-ca/product/18938757',
291+
},
292+
{
293+
brand: 'msi',
294+
model: 'vanguard soc launch edition',
295+
series: '5080',
296+
url: 'https://www.bestbuy.ca/en-ca/product/18938756',
297+
},
298+
{
299+
brand: 'msi',
300+
model: 'ventus 3x',
301+
series: '5090',
302+
url: 'https://www.bestbuy.ca/en-ca/product/18938755',
303+
},
304+
{
305+
brand: 'msi',
306+
model: 'suprim liquid x',
307+
series: '5090',
308+
url: 'https://www.bestbuy.ca/en-ca/product/18938754',
309+
},
310+
{
311+
brand: 'msi',
312+
model: 'vanguard',
313+
series: '5090',
314+
url: 'https://www.bestbuy.ca/en-ca/product/18938752',
315+
},
316+
{
317+
brand: 'msi',
318+
model: 'gaming trio oc',
319+
series: '5090',
320+
url: 'https://www.bestbuy.ca/en-ca/product/18938751',
321+
},
322+
{
323+
brand: 'asus',
324+
model: 'prime',
325+
series: '5080',
326+
url: 'https://www.bestbuy.ca/en-ca/product/18934247',
327+
},
328+
{
329+
brand: 'pny',
330+
model: 'triple fan oc',
331+
series: '5080',
332+
url: 'https://www.bestbuy.ca/en-ca/product/18934178',
333+
},
334+
{
335+
brand: 'pny',
336+
model: 'epic x oc',
337+
series: '5080',
338+
url: 'https://www.bestbuy.ca/en-ca/product/18934177',
339+
},
340+
{
341+
brand: 'zotac',
342+
model: 'solid',
343+
series: '5090',
344+
url: 'https://www.bestbuy.ca/en-ca/product/18931631',
345+
},
346+
{
347+
brand: 'zotac',
348+
model: 'solid oc',
349+
series: '5080',
350+
url: 'https://www.bestbuy.ca/en-ca/product/18931629',
351+
},
232352
],
233353
name: 'bestbuy-ca',
234354
waitUntil: 'domcontentloaded',
235355
};
356+
357+
/* Copy Paste Template
358+
359+
Just paste product ID at the end of the link
360+
361+
{
362+
brand: '',
363+
model: '',
364+
series: '',
365+
url: 'https://www.bestbuy.ca/en-ca/product/',
366+
},
367+
*/

src/store/model/bestbuy.ts

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,13 @@ export const BestBuy: Store = {
695695
series: 'arc',
696696
url: 'https://api.bestbuy.com/click/-/6614154/pdp',
697697
},
698+
{
699+
brand: 'nvidia',
700+
cartUrl: 'https://api.bestbuy.com/click/-/6614154/cart',
701+
model: 'founders edition',
702+
series: '5070',
703+
url: 'https://api.bestbuy.com/click/-/6614154/pdp',
704+
},
698705
{
699706
brand: 'nvidia',
700707
cartUrl: 'https://api.bestbuy.com/click/-/6614153/cart',
@@ -704,11 +711,24 @@ export const BestBuy: Store = {
704711
},
705712
{
706713
brand: 'nvidia',
707-
// cartUrl: 'https://api.bestbuy.com/click/-/6614151/cart',
714+
cartUrl: 'https://api.bestbuy.com/click/-/6614151/cart',
708715
model: 'founders edition',
709716
series: '5090',
710717
url: 'https://api.bestbuy.com/click/-/6614151/pdp',
711718
},
712719
],
713720
name: 'bestbuy',
714721
};
722+
723+
/* Copy Paste template
724+
725+
Paste the SKU from the site in between both sets of /-// example: /-/sku/cart, /-/sku/pdp
726+
727+
{
728+
brand: '',
729+
cartUrl: 'https://api.bestbuy.com/click/-//cart',
730+
model: '',
731+
series: '',
732+
url: 'https://api.bestbuy.com/click/-//pdp',
733+
},
734+
*/

0 commit comments

Comments
 (0)