yasserqureshi1 / Sneaker-Monitors

A collection of web monitors that notify of restocks or updates on sneaker related sites through Discord Webhook. This includes Shopify, Nike SNKRS (supports 42 countries), Supreme and now Footsite monitors!
GNU General Public License v3.0
462 stars 126 forks source link

Monitors not functioning properly for me. #113

Closed king1267 closed 2 years ago

king1267 commented 3 years ago

All Monitors have location changed to US in .env file.

SNKRS Monitor I followed the video exactly and changed the env file to fit my priorities and none of the new SNKRS releases are showing up on my discord. With and without keywords.

SNKRSlog says this repeated:

_2021-10-04 19:53:53,375 - root - Successfully scraped SNKRS site 2021-10-04 19:53:54,390 - urllib3.connectionpool - Starting new HTTPS connection (1): api.nike.com:443 2021-10-04 19:53:54,575 - urllib3.connectionpool - https://api.nike.com:443 "GET /product_feed/threads/v2/?anchor=0&count=60&filter=marketplace%28US%29&filter=language%28en%29&filter=channelId%28010794e5-35fe-4e32-aaff-cd2c74f89d61%29&filter=exclusiveAccess%28true%2Cfalse%29&fields=active%2Cid%2ClastFetchTime%2CproductInfo%2CpublishedContent.nodes%2CpublishedContent.subType%2CpublishedContent.properties.coverCard%2CpublishedContent.properties.productCard%2CpublishedContent.properties.products%2CpublishedContent.properties.publish.collections%2CpublishedContent.properties.relatedThreads%2CpublishedContent.properties.seo%2CpublishedContent.properties.threadType%2CpublishedContent.properties.custom%2CpublishedContent.properties.title HTTP/1.1" 200 450163 2021-10-04 19:53:54,666 - urllib3.connectionpool - Starting new HTTPS connection (1): api.nike.com:443 2021-10-04 19:53:54,760 - urllib3.connectionpool - https://api.nike.com:443 "GET /productfeed/threads/v2/?anchor=60&count=60&filter=marketplace%28US%29&filter=language%28en%29&filter=channelId%28010794e5-35fe-4e32-aaff-cd2c74f89d61%29&filter=exclusiveAccess%28true%2Cfalse%29&fields=active%2Cid%2ClastFetchTime%2CproductInfo%2CpublishedContent.nodes%2CpublishedContent.subType%2CpublishedContent.properties.coverCard%2CpublishedContent.properties.productCard%2CpublishedContent.properties.products%2CpublishedContent.properties.publish.collections%2CpublishedContent.properties.relatedThreads%2CpublishedContent.properties.seo%2CpublishedContent.properties.threadType%2CpublishedContent.properties.custom%2CpublishedContent.properties.title HTTP/1.1" 200 422365 2021-10-04 19:53:54,815 - urllib3.connectionpool - Starting new HTTPS connection (1): api.nike.com:443

Snipes Monitor Snipes monitor works and shows shoes in my discord but when I add keywords such as

'AirJordan1%AirJordan3%AirJordan4%AirJordan5%AirJordan6%AirJordan7%AirJordan9%AirJordan11%Jordan1%Jordan3%Jordan4%Jordan5%Jordan6%Jordan7%Jordan8%Jordan9%Jordan11%Jordan12%AirJordan12%Jordan%DunkHigh%DunkLow%Dunk' or Air Jordan 1% Air Jordan 3%Air Jordan 4%Air Jordan 5%Air Jordan 6%Air Jordan 7%Air Jordan 9%Air Jordan 11%Jordan 1%Jordan 3%Jordan 4%Jordan 5%Jordan 6%Jordan 7%Jordan 8%Jordan 9%Jordan 11%Jordan 12%Air Jordan 12%Jordan%Dunk High%Dunk Low%Dunk

nothing shows up and when something does, if you click the link it pops up in german even though I switched the location in the .env file to US.

Footlocker Monitor I edit the .env file to my specifications and I get this constant error every second.

Exception found 'list indices must be integers or slices, not str' - Rotating proxy and user-agent Traceback (most recent call last): File "C:\Users\dnmpl\Downloads\Sneaker-Monitors-master\Footsites\Footlocker\FootlockerUSMonitor.py", line 172, in monitor comparitor(item, start) File "C:\Users\dnmpl\Downloads\Sneaker-Monitors-master\Footsites\Footlocker\FootlockerUSMonitor.py", line 125, in comparitor if not checker(item['sku']): TypeError: list indices must be integers or slices, not str

Footlockerlog says this repeated over and over.

2021-10-04 20:25:19,530 - root - Successfully scraped site 2021-10-04 20:25:19,533 - root - list indices must be integers or slices, not str 2021-10-04 20:25:19,535 - urllib3.connectionpool - Starting new HTTPS connection (1): www.footlocker.com:443 2021-10-04 20:25:19,678 - urllib3.connectionpool - https://www.footlocker.com:443 "GET /category/mens/shoes.html HTTP/1.1" 200 70411

SNKRSlog.log Snipeslog.log Footlockerlog.log

yasserqureshi1 commented 2 years ago

The SNKRS monitor seems like it is working fine

I'll check the Snipes monitor and make the necessary updates for different regions.

The Footlocker monitor struggles to parse the site. I'll look into this

king1267 commented 2 years ago

The SNKRS monitor seems like it is working fine

I'll check the Snipes monitor and make the necessary updates for different regions.

The Footlocker monitor struggles to parse the site. I'll look into this

So the SNKRS Monitor doesn't give me errors anymore but nothing posts on my discord server. Anchor 60 Anchor 120 Anchor 180 posts over and over which I saw in the explanation for a different issue is a normal behavior but nothing posts in my discord. How can I fix that?