Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to get user details/scrape posts of instagram account #942

Closed
SayanSaha01 opened this issue Jun 2, 2023 · 1 comment
Closed

how to get user details/scrape posts of instagram account #942

SayanSaha01 opened this issue Jun 2, 2023 · 1 comment
Labels
module:instagram question Further information is requested

Comments

@SayanSaha01
Copy link

i went through stack overflow as well as the code written in the instagram.py file in the modules but am unable to come up with a method to scrape posts as well as user details via snscrape.

I also fed the entire code of instagram.py to chatGPT to come up with an method to get user details but they are proving ineffective.
Pls help

@SayanSaha01 SayanSaha01 added the question Further information is requested label Jun 2, 2023
@JustAnotherArchivist
Copy link
Owner

In theory:

for post in snscrape.modules.instagram.InstagramUserScraper('username'):
	print(post.url)
	print(post.user.username)
	#...

In practice, the Instagram scrapers have been broken for a while now (#520), so you won't be able to scrape anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:instagram question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants