GithubHelp home page GithubHelp logo

Comments (6)

huaying avatar huaying commented on July 20, 2024 1

Write an example to get the like detail:
https://github.com/huaying/instagram-crawler/pull/40/files

from instagram-crawler.

Funktiona avatar Funktiona commented on July 20, 2024

I made an attempt at this, and I think I'm able to finish if I could get a little help. I have tried but failed to be able to click the down arrow here.
Screenshot from 2019-04-13 10-42-00

`

def get_liked_by(self, username):

    user_posts_info = self.get_user_posts(username, number=3)

    for post in user_posts_info:

        browser = self.browser

        browser.get(post['key'])
        time.sleep(1)

        like_by_button = browser.find_one('.zV_Nj')

        like_by_button.click()`

from instagram-crawler.

Funktiona avatar Funktiona commented on July 20, 2024

Thank you so much @huaying . It works perfect!

from instagram-crawler.

Funktiona avatar Funktiona commented on July 20, 2024

@huaying after running this on a few post I got no likers returned. I ran it with has_screen=True and realized that Instagram would no longer show me likers. Maybe Instagram realised that I was crawling and don't want that... Is this happening for you also?

from instagram-crawler.

huaying avatar huaying commented on July 20, 2024

Sorry for the late reply. I just tested it and it worked for me.
Not sure what happened. Maybe you can give the post url you tried to crawl

from instagram-crawler.

huaying avatar huaying commented on July 20, 2024

#43

from instagram-crawler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.