blackhole-dl
v1.1.2
Published
A CLI for downloading files from BlackHole
Downloads
4
Readme
blackhole-dl
A CLI for downloading files from BlackHole
Usage
Install blackhole-dl by running:
yarn global add blackhole-dl
Then, run the CLI, passing it the URL to a file:
blackhole-dl 'https://app.blackhole.run/#55913751ec1EX5YjX7bjY71n8z3sZZaaacGZ26LahXN4'
blackhole-dl
uses Chrome to open the URL and download the file.
Also, we provide a JavaScript API for writing your own scripts:
import download from 'blackhole-dl'
async function run() {
const events = download('https://app.blackhole.run/#55913751ec1EX5YjX7bjY71n8z3sZZaaacGZ26LahXN4')
for await (const {fileName, progress} of events) {
console.log(fileName, progress)
}
}
run()