Giter Site home page Giter Site logo

instagram_report's Introduction

instagramのユーザーの概要を一括取得

使い方

  1. config/users.sampleを参考に、instagramアカウントを改行区切りで並べたconfig/usersを作ります。
    • 不正なURLや不正なアカウントがあると除外して取得します。
  2. php get.phpを実行します。
  3. out/report.csvにフォロー数、フォロワー数、記事数、直近12件の記事のコメント数、いいね数、サムネイル画像URLがCSVで保存されます。
  4. out/html/内に各ユーザー毎のファイルが保存され、ユーザーページから取れるその他の情報がjsonで保存されます。

report.csvについて

各項目は

  • user: アカウント
  • status: エラーの場合等のステータス
  • follows: フォロー数
  • followers: フォロワー数
  • articles: 投稿記事数
  • (0〜11)_date: 投稿日時
  • (0〜11)_comments: コメント数
  • (0〜11)_likes: いいね数
  • (0〜11)_thumbnail: サムネイル画像URL

数値は0が最新で、12件分取得できます。

エラーがあった場合は2列目(status)にエラーメッセージが入っています。

正常

  • '' (空)
  • No user error
  • Private user
    • 非公開設定のユーザー

異常

  • Skip
  • No content error
  • Parse error
  • Json error

以上

instagram_report's People

Contributors

ishikawam avatar

Watchers

 avatar  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.