Git Product home page Git Product logo

scr-cli's Introduction

@applegamer22/scr-cli

Network Github NPM
license GitHub license NPM license
relase GitHub release NPM relase
build status publish-image
downloads GitHub downloads NPM downloads
people GitHub contributors NPM collaborators
code size GitHub code size
forks GitHub forks
stars GitHub stars
watchers GitHub watchers

Description

Instagram web scraper for social post file(s) downloads.

Installation

$ sudo npm i -g @applegamer22/scr-cli

Contributing

  • Separate Git branch to the master branch (after being approved as a contributor by the repository's owner).
    • After reviewing the changes, this branch will be merged to the main branch.
  • Separate fork to this repository

Usage Responsibilities

  • You can't attempt to create accounts or access or collect information in unauthorized ways. This includes creating accounts or collecting information in an automated way without our express permission.

You may not:

  • use automated scripts to collect information from or otherwise interact with the Services;

C Service Rules You agree not to engage in any of the following prohibited activities:

  • (I) copying, distributing, or disclosing any part of the Service in any medium, including without limitation by any automated or non-automated “scraping”,
  • (II) using any automated system, including without limitation “robots,” “spiders,” “offline readers,” etc., to access the Service in a manner that sends more request messages to the VSCO servers than a human can reasonably produce in the same period of time by using a conventional on-line web browser (except that VSCO grants the operators of public search engines revocable permission to use spiders to copy materials from vsco.co for the sole purpose of and solely to the extent necessary for creating publicly available searchable indices of the materials but not caches or archives of such materials),
  • (XI) accessing any content on the Service through any technology or means other than those provided or authorized by the Service,
  • (XII) bypassing the measures we may use to prevent or restrict access to the Service, including without limitation features that prevent or restrict use or copying of any content or enforce limitations on use of the Service or the content therein.

Prerequisites

Before Using The CLI:

Development

  1. Clone this repository by running $ git clone https://github.com/AppleGamer22/Social-Scraper.git in your command-line.
  2. Run $ npm install in the root directory of the downloaded copy.

Using The CLI:

  1. Run $ scr auth --instagram before using instagram, highlight or story.
  2. Run $ scr <command> --<flags> post_id in you command line.
  3. Wait until the program says:

Downloading...Done.

How Does It Work?

  1. The user puts Instagram/VSCO credentials ahead of post scraping.
  2. The Chromium bot will remember the credentials entered the login form of the selected social network.
  3. The user specifies the social network and the desired post ID.
  4. The Chromium bot browser is opened.
  5. Puppeteer navigates to the post.
  6. Puppeteer loads all available files and their URLs.
  7. The CLI downloads the files to the current codebase directory.
  8. The bot browser is closed.
  9. The command is terminated by the Node.js runtime.

scr-cli's People

Contributors

applegamer22 avatar dependabot[bot] avatar

Stargazers

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