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.52k stars 2.09k forks source link

Scrape limited target followers emails but the target has 100K+ followers #342

Closed SajidAnwarrr closed 2 years ago

SajidAnwarrr commented 2 years ago

How to catch limited users email? I need to scrape 2000 emails but the target user has 100k followers and it's scanning all of them and Instagram blocked the process at 35000. Please help

Datalux commented 2 years ago

This was fixed in version 1.3 (#150)

SajidAnwarrr commented 2 years ago

Not fixed! before capturing emails the code first catches followers, if the user has 1k to 2k followers then the code works fine but if the user has lots of followers then the code first catches all the followers of the user then the problem comes in! if the user has 100k followers then Instagram will block you at around 30k while catching followers. and while scraping the emails if you enter 300 emails then Instagram will block you. if you add a limit in catching followers and delay in email scraping. That will be great.

b0yb0y619 commented 2 years ago

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

Catched 1100 followers email

Do you want to get all emails? y/n: Run a command: n Unknown command Run a command: fwersemail Searching for emails of target followers... this can take a few minutes Catched 1100 followers email

Do you want to get all emails? y/n: n How many emails do you want to get? 200 Traceback (most recent call last): File "/home/bryanbolo19/.local/lib/python3.7/site-packages/instagram_private_api/client.py", line 523, in _call_api response = self.opener.open(req, timeout=self.timeout) File "/usr/lib/python3.7/urllib/request.py", line 531, in open response = meth(req, response) File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python3.7/urllib/request.py", line 569, in error return self._call_chain(args) File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(args) File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 400: Bad Request

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "main.py", line 186, in _cmd() File "/home/bryanbolo19/Osintgram/src/Osintgram.py", line 1238, in get_fwersemail user = self.api.user_info(str(follow['id'])) File "/home/bryanbolo19/.local/lib/python3.7/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/bryanbolo19/.local/lib/python3.7/site-packages/instagram_private_api/client.py", line 527, in _call_api ErrorHandler.process(e, error_response) File "/home/bryanbolo19/.local/lib/python3.7/site-packages/instagram_private_api/errors.py", line 125, in process error_response=json.dumps(error_obj) instagram_private_api.errors.ClientChallengeRequiredError: challenge_required bryanbolo19@cloudshell:~/Osintgram$

davcol1 commented 2 years ago

i've been reading online where the creator says this issue is fixed, but all attempt seem false.

please is there a code or something because the command out there just starts scrapping emails non stop.

would be nice if something can be done about it. thanks for the awesome tool.

Zuwababala commented 2 years ago

Please i have same issues any progress please

C4l1b3r commented 2 years ago

I had same issue. Now it says I logged out lol.

cryptoparrott commented 2 years ago

Yeah this totally isn't fixed, I believe IG are now limiting to 200 api calls an hour per account. This sucks, but I imagine there's a work around... Could it be looked into again considering it's one of the main functions of the tool? tia