Sinisterly
How can I solve it? - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Python (https://sinister.li/Forum-Python)
+--- Thread: How can I solve it? (/Thread-How-can-I-solve-it)



How can I solve it? - Hack3rcon - 01-20-2020

Hello,
I'm using "instabot-py" and got below error:
Code:
Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/instabot_py/instabot.py", line 527, in get_media_id_by_tag all_data = json.loads(r.text) File "/usr/local/lib/python3.6/json/__init__.py", line 354, in loads return _default_decoder.decode(s) File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/local/lib/python3.6/json/decoder.py", line 357, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
What is the Python problem?

Thank you.


RE: How can I solve it? - Hack3rcon - 01-23-2020

Thank you for your help.
I installed "Instabot.py" using below command:
Code:
# python3 -m pip install instabot-py
It should install the last version!!!!