Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.
Omri Bornstein edited this page Mar 4, 2020 · 18 revisions

$ scr --help

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

Usage

$ scr [COMMAND]

Commands

  • login: Command for supported social network log-in.
  • logout: Command for supported social network log-out.
  • facebook: Command for scraping Facebook post files.
  • help: display help for scr
  • instagram: Command for scraping Instagram post files.
  • tiktok: Command for scraping TikTok post files.
  • vsco: Command for scraping VSCO post files.

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.