Datalux / Osintgram

Osintgram is a OSINT tool on Instagram. It offers an interactive shell to perform analysis on Instagram account of any users by its nickname
GNU General Public License v3.0
9.45k stars 2.06k forks source link

fwersemail return errors #407

Open mantans opened 2 years ago

mantans commented 2 years ago

I had follow installation guidelines, everything seems to work, but everytime i try to use fwersemail command i receive this output

`Run a command: fwersemail Searching for emails of target followers... this can take a few minutes Catched 15520 followers email

Do you want to get all emails? y/n: n How many emails do you want to get? 1000 Traceback (most recent call last): File "/home/user/Documents/Osintgram/main.py", line 186, in _cmd() File "/home/user/Documents/Osintgram/src/Osintgram.py", line 1238, in get_fwersemail user = self.api.user_info(str(follow['id'])) File "/home/user/Documents/Osintgram/venv/lib/python3.9/site-packages/instagram_private_api/endpoints/users.py", line 17, in user_info res = self._call_api('users/{user_id!s}/info/'.format(**{'user_id': user_id})) File "/home/user/Documents/Osintgram/venv/lib/python3.9/site-packages/instagram_private_api/client.py", line 541, in _call_api json_response = json.loads(response_content) File "/usr/lib/python3.9/json/init.py", line 346, in loads return _default_decoder.decode(s) File "/usr/lib/python3.9/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.9/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)`

ppbeautyacademy commented 2 years ago

With a large number of emails, the request will be blocked. so I think the maximum you can get is about 100 and below.

Datalux commented 2 years ago

Try to use the v2 of Osintgram (current WIP).

lightpost92 commented 2 years ago

Hello, I have using V2 and I am getting the same issue. any way to workaround this? for instance instead of getting first 100 emails I can get second 100 emails.

polumh commented 2 years ago

How do you upgrade to V2?