Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

insta_scrape_insta

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

insta_scrape_insta

>Extract Instagram User Information, Post Information Without Login. Download ( JSON ) or return a JSON.

  • 1.2.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-54.55%
Maintainers
1
Weekly downloads
 
Created
Source

InstaScrape

Build Status

InstaScrape is a scraping tool that allows programmers to extract publice user information without Logging into Instagram.

  • User Full Name
  • User Profile Image
  • User Follower Count
  • User Post FEED ( Picture & Video )

Package Dependencies

  • Puppeteer - Headless Chrome Node API.
  • Lodash - A modern JavaScript utility library delivering modularity, performance & extras.
  • util - Node.js's util module for all engines.
  • meow - CLI app helper.

Installation

InstaScrape requires Node.js 6.4.0+ to run. Install the dependencies before running.

If you want to run the API in the CLI

$ npm install insta_scrape_insta
$ cd insta_scrape_insta
$ node app.js instascrape -h danbilzerian -c 10

InstaScrape can extract only 1 users information through the CLI FOR NOW.

FlagsShorthandOptionalValue
filetype-fYESjson( return an object ) / json_file
timestamp-tYESDate and Time upto which posts should be extracted
handle-hNOInstagram Handle Name
filename-nYESCustom file name
count-cYESExtract certain number of posts from the feed
hashtag-htYESMatch a specific hashtag in the feed

If you want to call the method in your program

let InstaScrape = require('insta_scrape_insta')
let users = [
        {
            handle:"rik.roc",
            timestamp:"2018-09-04T11:42:12.000Z",
            match_tag:"", 
            no_of_posts: 20
        }
]
let options = {
    users,
    cool_down_time: 200,
    result_format: "json_file",
    result_file_name: "my_insta_profile"
}
let response = InstaScrape(options)
KeyOptionalValue
usersNOArray of all users you want information about
cool_down_timeYESShort setTimeOuts for the Garbage Collector to do its jog
result_formatYESjson( return an object ) / json_file
result_file_nameYESCustom file name

The following are the option provided to filter releavant posts from the feed.

KeyOptionalValue
handleNOUsers Instagram Handle
timestampYESDate and Time upto which posts should be extracted
match_tagYESMatch a specific hashtag in the feed
no_of_postsYESExtract certain number of posts from the feed

Todos

  • Get Followers for Any User

License

MIT

Keywords

FAQs

Package last updated on 19 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc