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 · 4 revisions

$ scr tiktok --help

Command for scraping TikTok post file.

Usage Responsibilities

You may not:

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

Usage

$ scr tiktok 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.