Closed SajidAnwarrr closed 3 years ago
Hi @SajidAnwarrr, thanks for the issue, please refer to #342 only.
Add a limit before catching the followers and add delay while scraping email
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
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.
Originally posted by @SajidAnwarrr in https://github.com/Datalux/Osintgram/issues/342#issuecomment-947427984