I am running it in the docker and the normal file works (CLI) to setu everything up but when I want to download photos I get errors same for the download_photos_by_hashtag.py
root@instabott:/config/examples# python download_photos_by_user.py fromwhereidrone
2019-01-28 12:04:31,916 - INFO - Instabot Started
Which account do you want to use? (Type number)
1: (removed for privacy reasons)
0: add another account.
-1: delete all accounts.
1
2019-01-28 12:04:42,925 - INFO - Logged-in successfully as '*' using the cookie!
2019-01-28 12:04:43,174 - ERROR - Request returns 403 error!
2019-01-28 12:04:44,333 - ERROR - Request returns 404 error!
Traceback (most recent call last):
File "download_photos_by_user.py", line 24, in <module>
medias = bot.get_total_user_medias(args.username)
File "/config/examples/../instabot/bot/bot.py", line 336, in get_total_user_medias
return get_total_user_medias(self, user_id)
File "/config/examples/../instabot/bot/bot_get.py", line 66, in get_total_user_medias
medias = self.api.get_total_user_feed(user_id)
File "/config/examples/../instabot/api/api.py", line 676, in get_total_user_feed
return self.get_last_user_feed(user_id, amount=float('inf'), min_timestamp=min_timestamp)
File "/config/examples/../instabot/api/api.py", line 685, in get_last_user_feed
self.get_user_feed(user_id, next_max_id, min_timestamp)
File "/config/examples/../instabot/api/api.py", line 400, in get_user_feed
return self.send_request(url)
File "/config/examples/../instabot/api/api.py", line 184, in send_request
response_data = json.loads(response.text)
File "/usr/local/lib/python3.7/json/__init__.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/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)
2019-01-28 12:04:44,573 - INFO - Bot stopped. Worked: 1:02:11.968729
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I am running it in the docker and the normal file works (CLI) to setu everything up but when I want to download photos I get errors same for the download_photos_by_hashtag.py