Advice for creating an infinite email scraper #767
Unanswered
trevtravtrev
asked this question in
Q&A
Replies: 2 comments 2 replies
-
|
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Yes, this option is preferred |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I started playing with instagrapi a few days ago and combing the source code. I'm trying to make a bot that can infinitely scrape emails from posts in a hashtag.
Right now I grab posts from a hashtag using the low level _v1 functions, then I grab the username from each post, then I search the user's profile and grab their email if they have one. My account is getting locked quickly.
I assumed using the low level _v1 hashtag scraping methods would be best but my account gets locked quickly when I set the amount to 500 or 1000.
I also tried to implement the handle_exceptions example provided but I'm confused by the example because it uses functions like "self.freeze" that aren't provided in the example and errors out.
What are some recommendations if I want to infinitely scrape emails from a hashtag on IG? Multiple IG accounts? Rotate proxies? Broadly handle exceptions? More?
Beta Was this translation helpful? Give feedback.
All reactions