jef / streetmerchant

🤖 The world's easiest, most powerful stock checker
https://jef.buzz/streetmerchant
MIT License
4.96k stars 1.31k forks source link

bot only shows on the amd site for the 6800xt #975

Closed hschraep closed 3 years ago

hschraep commented 3 years ago

Description

Hello, i select only the rt6800xt and the hole grafikcard manufactures only searches for the amd site. Is this a bug or right now ok?

3.1.0

[13:29:47] info :: ℹ selected stores: alternate, amazon-de, amd, amd-de, arlt, asus-de, caseking, cyberport, computeruniverse, evga-eu, galaxus, mediamarkt, mindfactory, notebooksbilliger, proshop-de, saturn, very [13:29:47] info :: ℹ selected brands: asus, evga, gainward, kfa2, inno3d, msi, palit, pny, zotac, amd [13:29:47] info :: ℹ selected series: rx6800xt [13:30:03] info :: ✖ [amd] [amd (rx6800xt)] amd reference :: OUT OF STOCK [13:30:13] info :: ✖ [amd] [amd (rx6800xt)] amd reference :: OUT OF STOCK [13:30:22] info :: ✖ [amd] [amd (rx6800xt)] amd reference :: OUT OF STOCK [13:30:41] info :: ✖ [amd] [amd (rx6800xt)] amd reference :: OUT OF STOCK [13:30:54] info :: ✖ [amd] [amd (rx6800xt)] amd reference :: OUT OF STOCK [13:31:08] info :: ✖ [amd] [amd (rx6800xt)] amd reference :: OUT OF STOCK [13:31:19] info :: ✖ [amd] [amd (rx6800xt)] amd reference :: OUT OF STOCK [13:31:30] info :: ✖ [amd] [amd (rx6800xt)] amd reference :: OUT OF STOCK

hschraep commented 3 years ago

But i think caseking has some of this cards listed: https://www.caseking.de/search?sSearch=6800xt

hideouspenguinboy commented 3 years ago

Add "amd reference" to your models. The script doesn't call different models for the 6800xt because they weren't added to the script in model name only. (it still looks for every model, tho)

hschraep commented 3 years ago

I have do it like this in the config .env:

SHOW_ONLY_BRANDS="" SHOW_ONLY_MODELS="amd reference,5600x" SHOW_ONLY_SERIES="" SLACK_CHANNEL="" SLACK_TOKEN="" SMTP_ADDRESS="" SMTP_PORT="" STORES="alternate,amazon-de,amd,amd-de,arlt,asus-de,caseking,cyberport,computeruniverse,evga-eu,galaxus,mediamarkt,mindfactory,notebooksbilliger,proshop-de,saturn,very "

but this is not working, still the amd site is checked for the rx6800xt:

3.1.0

[17:29:21] info :: ℹ selected stores: alternate, amazon-de, amd, amd-de, arlt, asus-de, caseking, cyberport, computeruniverse, evga-eu, galaxus, mediamarkt, mindfactory, notebooksbilliger, proshop-de, saturn, very [17:29:21] info :: ℹ selected models: amd reference, 5600x [17:29:21] info :: ℹ selected series: 3070, 3080, 3090, rx6800, rx6800xt, rx6900xt, ryzen5600, ryzen5800, ryzen5900, ryzen5950, sonyps5c, sonyps5de, xboxss, xboxsx

[17:31:03] info :: ✖ [notebooksbilliger] [amd (ryzen5600)] 5600x :: OUT OF STOCK [17:31:03] info :: ✖ [galaxus] [amd (ryzen5600)] 5600x :: OUT OF STOCK [17:31:04] warn :: ✖ [mindfactory] [amd (ryzen5600)] 5600x :: STATUS CODE ERROR 404 [17:31:07] info :: ✖ [amd] [amd (rx6800xt)] amd reference :: OUT OF STOCK [17:31:07] warn :: ✖ [cyberport] [amd (ryzen5600)] 5600x :: STATUS CODE ERROR 410 [17:31:08] info :: ✖ [amd-de] [amd (ryzen5600)] 5600x :: OUT OF STOCK [17:31:09] info :: ✖ [amazon-de] [amd (ryzen5600)] 5600x :: OUT OF STOCK

jef commented 3 years ago

Interesting. Do you know if this is still the case? I will test tomorrow.

hschraep commented 3 years ago

yes is still the case

jef commented 3 years ago

Oddly, I cannot replicate

image

jef commented 3 years ago

Also fixes out of stock: 9dc04b36388907f07da5555d19fa517ed0b207ed

hschraep commented 3 years ago

hm, still se same. i have used your config but he lools only on the amd site for the 6800xt .To update the bot i have to use C:\streetmerchant>git pull origin main and then npm install right?

here the output with you config:

> streetmerchant@ start C:\streetmerchant
> npm run build && node build/index.js

> build
> tsc

STREETMERCHANT
3.2.0

[22:31:34] info :: ℹ selected stores: alternate, amazon-de, amd, amd-de, arlt, asus-de, caseking, cyberport, computeruniverse, evga-eu, galaxus, expert, euronics-de, medimax, mediamarkt, mindfactory, notebooksbilliger, otto, proshop-de, saturn, very
[22:31:34] info :: ℹ selected brands: asus, evga, msi, palit, zotac, amd, kfa2
[22:31:34] info :: ℹ selected models: amd reference
[22:31:34] info :: ℹ selected series: rx6800xt
[22:31:41] info :: [very] Running linksBuilder...
[22:31:47] info :: 🚀🚨 [amd] [amd (rx6800xt)] amd reference :: IN STOCK 🚨🚀
https://www.amd.com/en/direct-buy/5458372800/us?add-to-cart=true
[22:31:48] info :: ✖ [amd-de] [amd (rx6800xt)] amd reference :: OUT OF STOCK
[22:31:57] info :: 🚀🚨 [amd] [amd (rx6800xt)] amd reference :: IN STOCK 🚨🚀
https://www.amd.com/en/direct-buy/5458372800/us?add-to-cart=true
[22:31:57] info :: ✖ [amd-de] [amd (rx6800xt)] amd reference :: OUT OF STOCK
hschraep commented 3 years ago

I have installed it compleatly new from github, but still the same:

C:\streetmerchant>npm run start

> streetmerchant@ start C:\streetmerchant
> npm run build && node build/index.js

> build
> tsc

STREETMERCHANT
3.2.0

[22:49:28] info :: ℹ selected stores: alternate, amazon-de, amazon-de-warehouse, amd-de, arlt, asus-de, caseking, computeruniverse, cyberport, euronics-de, expert, galaxus, gamestop-de, mediamarkt, mindfactory, notebooksbilliger, otto, proshop-de, saturn, spielegrotte
[22:49:28] info :: ℹ selected models: amd reference
[22:49:28] info :: ℹ selected series: rx6800xt
[22:49:42] info :: ✖ [amd-de] [amd (rx6800xt)] amd reference :: OUT OF STOCK
[22:49:54] info :: ✖ [amd-de] [amd (rx6800xt)] amd reference :: OUT OF STOCK
[22:50:04] info :: ✖ [amd-de] [amd (rx6800xt)] amd reference :: OUT OF STOCK
[22:50:14] info :: ✖ [amd-de] [amd (rx6800xt)] amd reference :: OUT OF STOCK

But now it is the amd stock issus fixed. So i think i do not update the program right in the past.

hschraep commented 3 years ago

Hi jef, what you have done, i think now it works:

3.2.0

[11:21:30] info :: ℹ selected stores: alternate, amazon-de, amazon-de-warehouse, amd-de, arlt, asus-de, caseking, computeruniverse, cyberport, euronics-de, expert, galaxus, gamestop-de, mediamarkt, mindfactory, notebooksbilliger, otto, proshop-de, saturn, spielegrotte
[11:21:30] info :: ℹ selected models: amd reference, 5600x
[11:21:30] info :: ℹ selected series: 3060ti, 3070, 3080, 3090, rx6800, rx6800xt, rx6900xt, ryzen5600, ryzen5800, ryzen5900, ryzen5950, sonyps5c, sonyps5de, xboxss, xboxsx
[11:21:41] info :: ✖ [amd-de] [amd (ryzen5600)] 5600x :: OUT OF STOCK
[11:21:42] info :: ✖ [arlt] [amd (ryzen5600)] 5600x :: PRICE 699 EXCEEDS LIMIT 300
[11:21:46] info :: ✖ [galaxus] [amd (ryzen5600)] 5600x :: OUT OF STOCK
[11:21:49] info :: ✖ [amazon-de] [amd (ryzen5600)] 5600x :: OUT OF STOCK
[11:21:49] info :: ✖ [mindfactory] [amd (ryzen5600)] 5600x :: PRICE 379.1 EXCEEDS LIMIT 300
[11:21:49] info :: ✖ [proshop-de] [amd (ryzen5600)] 5600x :: OUT OF STOCK
[11:21:49] info :: ✖ [amd-de] [amd (rx6800)] amd reference :: OUT OF STOCK
[11:21:49] info :: ✖ [alternate] [amd (ryzen5600)] 5600x :: PRICE 379 EXCEEDS LIMIT 300
[11:21:49] warn :: ✖ [cyberport] [amd (ryzen5600)] 5600x :: STATUS CODE ERROR 410
[11:21:50] info :: ✖ [computeruniverse] [amd (ryzen5600)] 5600x :: PRICE 399.99 EXCEEDS LIMIT 300
[11:21:51] info :: ✖ [notebooksbilliger] [amd (ryzen5600)] 5600x :: OUT OF STOCK
[11:21:51] info :: 🚀🚨 [mindfactory] [xfx (rx6800)] amd reference :: IN STOCK 🚨🚀
https://www.mindfactory.de/product_info.php/16GB-XFX-Radeon-RX-6800-Drei-Luefter-256bit-DDR6--Retail-_1388348.html
[11:21:52] info :: ✖ [caseking] [amd (ryzen5600)] 5600x :: PRICE 437.95 EXCEEDS LIMIT 300
[11:21:53] info :: ✖ [amd-de] [amd (rx6800xt)] amd reference :: OUT OF STOCK
[11:21:53] info :: ✖ [arlt] [amd (ryzen5600)] 5600x :: PRICE 699 EXCEEDS LIMIT 300
[11:21:53] info :: ✖ [alternate] [msi (rx6900xt)] amd reference :: OUT OF STOCK
[11:21:53] warn :: ✖ [mindfactory] [asrock (rx6900xt)] amd reference :: STATUS CODE ERROR 404
[11:21:55] info :: ✖ [amd-de] [amd (rx6900xt)] amd reference :: OUT OF STOCK
[11:21:56] warn :: ✖ [amazon-de] [amd (ryzen5600)] 5600x :: CAPTCHA
jef commented 3 years ago

Awesome! Great news 😁

Going to close now. Good luck!