jef / streetmerchant

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

Had instock notice. but did not get email. test notification works. #1142

Closed controledxchaos closed 3 years ago

controledxchaos commented 3 years ago

had an in stock notice but did not get an email. when I do the test notifications i get emails and texts as designed. this has happened twice now.

windows 10.

[4:04:25 PM] info :: 🚀🚨 [target] [sony (sonyps5c)] ps5 console :: IN STOCK 🚨🚀 https://www.target.com/p/playstation-5-console/-/A-81114595 [4:04:25 PM] info :: ✖ [amazon] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [4:04:38 PM] info :: ✖ [walmart] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [4:04:40 PM] info :: ✖ [target] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [4:04:50 PM] info :: ℹ [target] [sony (sonyps5c)] ps5 console :: IN STOCK, WAITING [4:04:50 PM] info :: ✖ [bestbuy] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [4:04:51 PM] info :: ✖ [walmart] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [4:04:51 PM] info :: ✖ [amazon] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [4:05:03 PM] info :: ✖ [target] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [4:05:04 PM] info :: ✖ [bestbuy] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [4:05:05 PM] info :: ✖ [amazon] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [4:05:07 PM] info :: ✖ [walmart] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [4:05:10 PM] info :: ℹ [target] [sony (sonyps5c)] ps5 console :: IN STOCK, WAITING [4:05:19 PM] info :: ✖ [walmart] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [4:05:24 PM] info :: ✖ [target] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [4:05:25 PM] info :: ✖ [bestbuy] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [4:05:26 PM] info :: ✖ [amazon] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [4:05:29 PM] info :: ℹ [target] [sony (sonyps5c)] ps5 console :: IN STOCK, WAITING [4:05:34 PM] info :: ✖ [walmart] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [4:05:40 PM] info :: ✖ [bestbuy] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [4:05:44 PM] info :: ✖ [target] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [4:05:44 PM] info :: ✖ [walmart] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [4:05:46 PM] info :: ✖ [amazon] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [4:05:53 PM] info :: ℹ [target] [sony (sonyps5c)] ps5 console :: IN STOCK, WAITING [4:05:57 PM] info :: ✖ [bestbuy] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [4:06:06 PM] info :: ✖ [walmart] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [4:06:06 PM] info :: ✖ [target] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [4:06:12 PM] info :: ℹ [target] [sony (sonyps5c)] ps5 console :: IN STOCK, WAITING [4:06:12 PM] info :: ✖ [amazon] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [4:06:17 PM] info :: ✖ [walmart] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [4:06:19 PM] info :: ✖ [bestbuy] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [4:06:25 PM] info :: ✖ [target] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [4:06:28 PM] info :: ✖ [amazon] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [4:06:32 PM] info :: ✖ [walmart] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [4:06:34 PM] info :: ℹ [target] [sony (sonyps5c)] ps5 console :: IN STOCK, WAITING [4:06:43 PM] info :: ✖ [bestbuy] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [4:06:43 PM] info :: ✖ [walmart] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [4:06:49 PM] info :: ✖ [amazon] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [4:06:50 PM] info :: ✖ [target] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [4:06:55 PM] info :: ✖ [bestbuy] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [4:06:56 PM] error :: ✖ couldn't send email queryA ETIMEOUT smtp.gmail.com { "code": "EDNS", "syscall": "queryA", "hostname": "smtp.gmail.com", "command": "CONN", "stack": "Error: queryA ETIMEOUT smtp.gmail.com\n at QueryReqWrap.onresolve [as oncomplete] (node:dns:203:19)" } [4:06:56 PM] error :: ✖ couldn't send sms to 4238638356 for carrier verizon queryA ETIMEOUT smtp.gmail.com { "code": "EDNS", "syscall": "queryA", "hostname": "smtp.gmail.com", "command": "CONN", "stack": "Error: queryA ETIMEOUT smtp.gmail.com\n at QueryReqWrap.onresolve [as oncomplete] (node:dns:203:19)" } [4:06:56 PM] error :: ✖ couldn't send sms to 4238630569 for carrier verizon queryA ETIMEOUT smtp.gmail.com { "code": "EDNS", "syscall": "queryA", "hostname": "smtp.gmail.com", "command": "CONN", "stack": "Error: queryA ETIMEOUT smtp.gmail.com\n at QueryReqWrap.onresolve [as oncomplete] (node:dns:203:19)" } [4:06:57 PM] info :: ℹ [target] [sony (sonyps5c)] ps5 console :: IN STOCK, WAITING [4:07:00 PM] info :: ✖ [walmart] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [4:07:02 PM] info :: ✖ [amazon] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [4:07:05 PM] info :: ✖ [target] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [4:07:09 PM] info :: ✖ [walmart] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [4:07:11 PM] info :: ℹ [target] [sony (sonyps5c)] ps5 console :: IN STOCK, WAITING

here is the test running with everything working right after this c:\streetmerchant2>npm run test:notification

test:notification npm run build && node build/test/notification-test.js

build tsc

STREETMERCHANT 3.1.0

[5:00:27 PM] info :: ✔ sms sent [5:00:28 PM] info :: ✔ email sent [5:00:28 PM] info :: ✔ sms sent

c:\streetmerchant2>

MikeAlbert4Real commented 3 years ago

Hey, I'm trying to search for the same thing (ps5) but for some reason i never get any in stock notifications even when they are in stock. Would you mind sharing your .env file with me? Without any personal info of course. Thank you in advance.

controledxchaos commented 3 years ago

sure! just... i hope it does better for you. lol I understand the frustration of seeing someone with in stock notificaitons.. but its even more frustrating to know i was home and just didnt get the notificaiton..

HEADLESS="" IN_STOCK_WAIT_TIME="180" LOG_LEVEL="" LOW_BANDWIDTH="" MAX_PRICE_SERIES_3070="" MAX_PRICE_SERIES_3080="" MAX_PRICE_SERIES_3090="" MAX_PRICE_SERIES_CORSAIR_SF="" MAX_PRICE_SERIES_RX6800="" MAX_PRICE_SERIES_RX6800XT="900" MAX_PRICE_SERIES_RX6900XT="" MAX_PRICE_SERIES_RYZEN5600="" MAX_PRICE_SERIES_RYZEN5800="" MAX_PRICE_SERIES_RYZEN5900="" MAX_PRICE_SERIES_RYZEN5950="" MAX_PRICE_SERIES_SONYPS5C="600" MAX_PRICE_SERIES_SONYPS5DE="500" MICROCENTER_LOCATION="" MQTT_BROKER_ADDRESS="" MQTT_BROKER_PORT="" MQTT_CLIENT_ID="" MQTT_PASSWORD="" MQTT_QOS="" MQTT_TOPIC="" MQTT_USERNAME="" NVIDIA_ADD_TO_CART_ATTEMPTS="" NVIDIA_SESSION_TTL="" OPEN_BROWSER="" PAGE_BACKOFF_MIN="" PAGE_BACKOFF_MAX="" PAGE_SLEEP_MIN="" PAGE_SLEEP_MAX="" PAGE_TIMEOUT="" PAGERDUTY_INTEGRATION_KEY="" PAGERDUTY_SEVERITY="" PHILIPS_HUE_API_KEY="" PHILIPS_HUE_CLOUD_ACCESS_TOKEN="" PHILIPS_HUE_CLOUD_CLIENT_ID="" PHILIPS_HUE_CLOUD_CLIENT_SECRET="" PHILIPS_HUE_CLOUD_REFRESH_TOKEN="" PHILIPS_HUE_LAN_BRIDGE_IP="" PHILIPS_HUE_LIGHT_COLOR="" PHILIPS_HUE_LIGHT_IDS="" PHILIPS_HUE_LIGHT_PATTERN="" PHONE_CARRIER="verizon,verizon" PHONE_NUMBER="nope!" PLAY_SOUND="" PROXY_ADDRESS="" PROXY_PROTOCOL="" PROXY_PORT="" PUSHBULLET="" PUSHOVER_TOKEN="" PUSHOVER_USER="" PUSHOVER_PRIORITY="" SCREENSHOT="" SHOW_ONLY_BRANDS="" SHOW_ONLY_MODELS="" SHOW_ONLY_SERIES="sonyps5c,sonyps5de" SLACK_CHANNEL="" SLACK_TOKEN="" SMTP_ADDRESS="" SMTP_PORT="" STORES="amazon,bestbuy,target,walmart,officedepot" TELEGRAM_ACCESS_TOKEN="" TELEGRAM_CHAT_ID="" TWILIO_ACCOUNT_SID="" TWILIO_AUTH_TOKEN="" TWILIO_FROM_NUMBER="" TWILIO_TO_NUMBER="" TWITCH_ACCESS_TOKEN="" TWITCH_CHANNEL="" TWITCH_CLIENT_ID="" TWITCH_CLIENT_SECRET="" TWITCH_REFRESH_TOKEN="" TWITTER_ACCESS_TOKEN_KEY="" TWITTER_ACCESS_TOKEN_SECRET="" TWITTER_CONSUMER_KEY="" TWITTER_CONSUMER_SECRET="" TWITTER_TWEET_TAGS="" USER_AGENT="" WEB_PORT=""

MikeAlbert4Real commented 3 years ago

Thank you so much for this! I feel your pain bro lol. I wish you luck on that ps5.

MikeAlbert4Real commented 3 years ago

one last question, just making sure if this is normal or not, do you get these "could not find file for the given pattern(s)" when you first run your script? Screenshot (7)

controledxchaos commented 3 years ago

there is a problem. something isn't right. maybe you need a fresh install? here is mine.

c:\streetmerchant2>npm run start

start npm run build && node build/index.js

build tsc

STREETMERCHANT 3.1.0

[8:39:15 PM] info :: ℹ selected stores: amazon, bestbuy, target, walmart, officedepot [8:39:15 PM] info :: ℹ selected series: sonyps5c, sonyps5de [8:39:38 PM] info :: ✖ [bestbuy] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [8:39:38 PM] info :: ✖ [amazon] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [8:39:39 PM] info :: ✖ [target] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [8:39:40 PM] info :: ✖ [walmart] [sony (sonyps5c)] ps5 console :: OUT OF STOCK

controledxchaos commented 3 years ago

did you follow all the install instructions?

MikeAlbert4Real commented 3 years ago

I thought I followed the instructions exactly but I’ll do a fresh install and see if I missed something. Thanks for all your help

MikeAlbert4Real commented 3 years ago

Do I install node and git into the c directory or install it inside the C:\streetmerchant\ ?

controledxchaos commented 3 years ago

I just installed. Not sure where it went. Lol

Sent from my iPhone

On Dec 3, 2020, at 8:50 PM, MikeAlbert4Real notifications@github.com wrote:



Did I install node and git into the c directory or install it inside the C:\streetmerchant\ ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jef/streetmerchant/issues/1142#issuecomment-738501901, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AR5HBCIGCRKG5YTPMAQRUU3STA56NANCNFSM4UMTCCZA.

MikeAlbert4Real commented 3 years ago

I just reinstalled everything and still get those "could not find file for the given pattern(s)" I followed it exactly too, I’ll figure it out eventually lol

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days