EchterAlsFake / Osintgram2

A tool to get OSINT information from an Instagram Account

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error after executing codes

parsa-ui opened this issue · comments

this error showed after i execute commands on debian vps:

T) Set Target
0) - Login Needed for private account's you are following to

    • addrs Get all registered addressed by target photos
    • captions Get user's photos captions
    • comments Get total comments of target's posts
    • followers Get target followers
    • followings Get users followed by target
    • fwersemail Get email of target followers
    • fwingsemail Get email of users followed by target
    • fwersnumber Get phone number of target followers
    • fwingsnumber Get phone number of users followed by target
    • info Get target info
    • likes Get total likes of target's posts
    • mediatype Get user's posts type (photo or video)
    • photos Download user's photos in output folder
    • propic Download user's profile picture
    • stories Download user's stories
    • album Download user's album
    • igtv Get user's IGTV
    • hashtag_media Get all media files from a specific hashtag
    • hashtag_search Search for hashtags with a search query
    • Exit
      -------------------=>:6
      [+]Enter target --=>:jordan.bown
      urllib3.exceptions.ResponseError: too many 429 error responses

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "requests/adapters.py", line 486, in send
File "urllib3/connectionpool.py", line 941, in urlopen
File "urllib3/connectionpool.py", line 941, in urlopen
File "urllib3/connectionpool.py", line 941, in urlopen
File "urllib3/connectionpool.py", line 931, in urlopen
File "urllib3/util/retry.py", line 515, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='i.instagram.com', port=443): Max retries exceeded with url: /api/v1/users/jordan.bown/usernameinfo/ (Caused by ResponseError('too many 429 error responses'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "Osintgram.py", line 634, in
Osintgram()
File "Osintgram.py", line 106, in init
self.menu()
File "Osintgram.py", line 185, in menu
self.get_target()
File "Osintgram.py", line 210, in get_target
target_id = self.get_target_id()
^^^^^^^^^^^^^^^^^^^^
File "Osintgram.py", line 223, in get_target_id
return self.cl.user_id_from_username(self.username)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "instagrapi/mixins/user.py", line 50, in user_id_from_username
File "instagrapi/mixins/user.py", line 200, in user_info_by_username
File "instagrapi/mixins/user.py", line 163, in user_info_by_username_v1
File "instagrapi/mixins/private.py", line 542, in private_request
File "instagrapi/mixins/private.py", line 527, in private_request
File "instagrapi/mixins/private.py", line 346, in _send_private_request
File "requests/sessions.py", line 602, in get
File "requests/sessions.py", line 589, in request
File "requests/sessions.py", line 703, in send
File "requests/adapters.py", line 510, in send
requests.exceptions.RetryError: HTTPSConnectionPool(host='i.instagram.com', port=443): Max retries exceeded with url: /api/v1/users/jordan.bown/usernameinfo/ (Caused by ResponseError('too many 429 error responses'))
[9976] Failed to execute script 'Osintgram' due to unhandled exception!

how to fix that?

Hey, it's probably not the solution that you expected, but you just need to change your IP address.

Instagram just blocks users from time to time, when they make too many requests. I also had that Issue, but changing IP solved it.

Errors are also mostly an Issue from Instagram or the instagrapi API.

But still thanks for reporting.

You can use VPN's like ProtonVPN, which have a Free Tier :)