aerial-links
v0.1.2
Published
Get all Aerial video links automatically from its `entries.json`.
Downloads
6
Readme
aerial-links
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 <path> custom aerial cache path to read `entries.json`
-f, --file <path> file path to export the content, default to print directly
-h, --help output usage information
JS API
import { getAerialLinks } from 'aerial-links'
const links = await getAerialLinks({
type = 'all',
exclude = false,
cachePath
}: {
type: ExportType
exclude: boolean
cachePath?: string
})