yurilaaziz / neo-instabot

Neo-Instabot is a free project. Forked from instabot.py. It uses the Instagram Web/Mobile API.
Other
37 stars 22 forks source link

Please fix @username@ #24

Open onerfusion opened 4 years ago

onerfusion commented 4 years ago

It's giving me this following error on the latest version

Traceback (most recent call last): File "/data/data/com.termux/files/usr/bin/neo-instabot", line 10, in sys.exit(main()) File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/instabot/main.py", line 345, in main bot.run() File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/instabot/bot.py", line 740, in run self.new_auto_mod_comments(media) File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/instabot/bot.py", line 1012, in new_auto_mod_comments comment_text = comment_text.replace("@username@", media["node"]["owner"]["username"]) KeyError: 'username'

Redrum2210 commented 1 year ago

It's giving me this following error on the latest version

Traceback (most recent call last): File "/data/data/com.termux/files/usr/bin/neo-instabot", line 10, in sys.exit(main()) File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/instabot/main.py", line 345, in main bot.run() File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/instabot/bot.py", line 740, in run self.new_auto_mod_comments(media) File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/instabot/bot.py", line 1012, in new_auto_mod_comments comment_text = comment_text.replace("@username@", media["node"]["owner"]["username"]) KeyError: 'username'