You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "upload.py", line 9, in
cli.upload(image, text)
File "/home/a3/.local/lib/python3.8/site-packages/instapy_cli/cli.py", line 153, in upload
raise IOError("Unable to upload.")
OSError: Unable to upload.
called from commandline:
instapy -u XXX -p XXX -f the_porpoise_galaxy_from_hubble_sd_2020-05-10.jpg -t 'NASA PIC OF DAY #spaceporn #beautiful'
or tried using python code
from instapy_cli import client
username = 'XXX'
password = 'XXX'
image = 'the_porpoise_galaxy_from_hubble_sd_2020-05-10.jpg'
text = 'NASA pic of the day' + '\r\n' + '#spaceporn #beautiful'
print(username,password,image,text)
with client(username, password) as cli:
cli.upload(image, text)
OS: Ubuntu 18.04
Python: 3.8.2
instapy-cli Version: 0.0.12
The text was updated successfully, but these errors were encountered:
Nope thats not the issue. The cookie is there and works. Some software issue it is.
a3igner
changed the title
simple commandline call won't work... [BUG]
simple upload from CLI or Python script won't work... [BUG]
Jun 23, 2020
a3igner
changed the title
simple upload from CLI or Python script won't work... [BUG]
simple jpg upload from CLI or Python script won't work... [BUG]
Jun 23, 2020
output:
[IG] re-use cookie from XXMYUSERNAMEXX_ig.json
Error parsing error response: Expecting value: line 1 column 1 (char 0)
Error is >>
Bad Request
Something went bad.
Please retry or send an issue on https://github.com/b3nab/instapy-cli
Traceback (most recent call last):
File "upload.py", line 9, in
cli.upload(image, text)
File "/home/a3/.local/lib/python3.8/site-packages/instapy_cli/cli.py", line 153, in upload
raise IOError("Unable to upload.")
OSError: Unable to upload.
called from commandline:
instapy -u XXX -p XXX -f the_porpoise_galaxy_from_hubble_sd_2020-05-10.jpg -t 'NASA PIC OF DAY #spaceporn #beautiful'
or tried using python code
The text was updated successfully, but these errors were encountered: