python snag.py -l https://www.instagram.com/p/B7BvcY8nadk/ -n test
Traceback (most recent call last):
File "/Users/justin/anaconda3/lib/python3.7/site-packages/pystagram-1.0.0-py3.7.egg/pystagram/__main__.py", line 58, in download
File "/Users/justin/anaconda3/lib/python3.7/site-packages/requests/models.py", line 897, in json
return complexjson.loads(self.text, **kwargs)
File "/Users/justin/anaconda3/lib/python3.7/json/__init__.py", line 348, in loads
return _default_decoder.decode(s)
File "/Users/justin/anaconda3/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/Users/justin/anaconda3/lib/python3.7/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)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "snag.py", line 82, in <module>
main()
File "snag.py", line 76, in main
download(args.link, args.dst, args.name)
File "snag.py", line 26, in download
gram.download(dst=dst, filename=name)
File "/Users/justin/anaconda3/lib/python3.7/site-packages/pystagram-1.0.0-py3.7.egg/pystagram/__main__.py", line 87, in download
Exception: Expecting value: line 1 column 1 (char 0)