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
463 stars 125 forks source link

SNKRS Monitor crashes immediatly after start #66

Closed francesco-plt closed 3 years ago

francesco-plt commented 3 years ago

This is console output:

> python.exe .\SNKRSMonitor.py
STARTING MONITOR
Payload delivered successfully, code 204.
Traceback (most recent call last):
  File "C:\Users\frapa\snkrs-monitor-configured\Sneaker-Monitors\SNKRS\SNKRSMonitor.py", line 168, in <module>
    monitor()
  File "C:\Users\frapa\snkrs-monitor-configured\Sneaker-Monitors\SNKRS\SNKRSMonitor.py", line 134, in monitor
    items = scrape_site(proxy, headers)
  File "C:\Users\frapa\snkrs-monitor-configured\Sneaker-Monitors\SNKRS\SNKRSMonitor.py", line 36, in scrape_site
    for item in output['objects']:
KeyError: 'objects'
Thjisio commented 3 years ago

Hi,

Looks like there were not found any objects. Make sure you are using working proxies and are actually monitoring a region that is supported. Check the documentation to see whether yours is supported.