Giter Site home page Giter Site logo

instagram-comments-crawler's Introduction

Instagram-comments-crawler

description

Crawl Instagram comments using GET request.

Without Selenium, it uses the way browser requests to get comments.

--> fast, simple and stable.

It does not crawl reply. Crawl "comments" ONLY

(개발목적: 인스타그램 댓글 이벤트 추첨)

prerequisites

  • python 3.8
  • requests
  • tqdm

changeable parameters

# Seconds to sleep btw each crawling iteration (to prevent DDoS) 
WAIT = 3
# Batch size of crawling (Max 50)
CRAWL_SIZE = 50

usage

## give "postfix URL" of your target post as python arg
## if URL of your post is "https://www.instagram.com/p/B-TvKr_gHNm/"
python3 crawl_comments.py B-TvKr_gHNm

output

TSV format with columns of user-ID and comment.

id1 comment1
id2 comment2
id3 comment3
id4 commnet4
...

instagram-comments-crawler's People

Contributors

hnky92 avatar

Stargazers

 avatar

Watchers

 avatar

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.