Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 648 Bytes

README.md

File metadata and controls

27 lines (15 loc) · 648 Bytes

Get Instagram Comments

A python script to download comments of a post on Instagram

Steps:

  1. Required libraries:

    • BeautifulSoup
    • selenium
    • langdetect
  2. You also need to download chrome driver: https://sites.google.com/a/chromium.org/chromedriver/

  3. Add the chrome driver to the PATH variable: export PATH=$PATH:/path-to-chormedriver-directory/

  4. Run the script:

    $ python get_insta_comments.py

  5. Copy the post address from the address bar and paste it on the shell

    Example: https://www.instagram.com/p/Bw9KgX8INZX/

  6. You can choose to see all the comments or only English comments

AK