Skip to content
#

instagram

Here are 3,031 public repositories matching this topic...

ashkan-khd
ashkan-khd commented Dec 12, 2020

Hello. I'm new to instaloader.
I've been using the following code to get a list of comments on a specific post:

    loader = Instaloader()
    insta_post = Post.from_shortcode(loader.context, SOME_POST_SHORTCODE_HERE)
    comments = insta_post.get_comments()
    # later logics here

it gives me a fine iterator of PostComment objects. for every comment you could use following attribu

Improve this page

Add a description, image, and links to the instagram topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the instagram topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.