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

$ scr vsco --help

Command for scraping VSCO post file.

Usage Responsibilities

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.

Usage

$ scr vsco USER POST

Options

  • -h, --headless: Toggle for background scraping.

How Does It Work?

  1. The user specifies the social network and the desired post ID.
  2. The Chromium bot browser is opened.
  3. Puppeteer navigates to the post.
  4. Puppeteer loads all available files and their URLs.
  5. The CLI downloads the files to the current codebase directory.
  6. The bot browser is closed.
  7. The command is terminated by the Node.js runtime.