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

Json Decode Error for SNKRS #108

Closed saoheathcliff closed 3 years ago

saoheathcliff commented 3 years ago

Hey, I just downloaded the monitor, not so sure what this error means. Any help would be greatly appreciated!

Payload delivered successfully, code 204. Traceback (most recent call last): File "C:\Users\harryyeam\Sneaker-Monitors\SNKRS\SNKRSMonitor.py", line 236, in monitor() File "C:\Users\harryyeam\Sneaker-Monitors\SNKRS\SNKRSMonitor.py", line 187, in monitor items = scrape_site(proxy, headers) File "C:\Users\harryyeam\Sneaker-Monitors\SNKRS\SNKRSMonitor.py", line 39, in scrape_site output = json.loads(html.text) File "C:\Users\harryyeam\AppData\Local\Programs\Python\Python39\lib\json__init__.py", line 346, in loads return _default_decoder.decode(s) File "C:\Users\harryyeam\AppData\Local\Programs\Python\Python39\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Users\harryyeam\AppData\Local\Programs\Python\Python39\lib\json\decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

yasserqureshi1 commented 3 years ago

Should be sorted with the recent updates