Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 1.52 KB

README.md

File metadata and controls

47 lines (36 loc) · 1.52 KB

aerial-links

Travis David David Dev Conventional Commits code style: prettier

Get all Aerial video links automatically from its entries.json.

Install

# yarn
yarn global add aerial-links

# npm
npm i -g aerial-links

Usage

Usage: aerial-links [options]

Options:
  -V, --version      output the version number
  -d, --debug        output debugging logs
  -e, --exclude      exclude existed files
  -t, --type <type>  export video type, valid types: all, url-1080-H264, url-1080-HDR, url-1080-SDR, url-4K-HDR, url-4K-SDR (default: "all")
  -j, --json         output json format
  -n, --no-copy      do not copy to clipboard
  -p, --cache-path   custom aerial cache path to read `entries.json`
  -f, --file <path>  filename to export the content, default to print directly
  -h, --help         output usage information

JS API

import { getAerialLinks } from 'aerial-links'

const links = await getAerialLinks(
  (exportType: ExportType = 'all'),
  (exclude = false),
)