Closed fttdgc closed 2 years ago
All` Shopify monitor runs result in this error;
[root@host1 monitor]# screen -S Shopify File "Shopify/ShopifyMonitor.py", line 199, in monitor items = scrape_site(CONFIG['URL'], proxy, headers) File "Shopify/ShopifyMonitor.py", line 44, in scrape_site output = json.loads(html.text)['products'] File "/usr/local/lib/python3.8/json/init.py", line 357, in loads return _default_decoder.decode(s) File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/local/lib/python3.8/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)
....
The error then repeats about 6-7 more times.
Have tried on multiple systems and multiple shopify stores, all producing the same error.
Error was a result of the free proxies being blocked.
All` Shopify monitor runs result in this error;
[root@host1 monitor]# screen -S Shopify File "Shopify/ShopifyMonitor.py", line 199, in monitor items = scrape_site(CONFIG['URL'], proxy, headers) File "Shopify/ShopifyMonitor.py", line 44, in scrape_site output = json.loads(html.text)['products'] File "/usr/local/lib/python3.8/json/init.py", line 357, in loads return _default_decoder.decode(s) File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/local/lib/python3.8/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)
....
The error then repeats about 6-7 more times.
Have tried on multiple systems and multiple shopify stores, all producing the same error.