(Go: >> BACK << -|- >> HOME <<)

Skip to content
This repository has been archived by the owner on May 15, 2022. It is now read-only.

Tiny tool for downloading the latest `youtube-dl` version available.

License

Notifications You must be signed in to change notification settings

microlinkhq/youtube-dl-binary

Repository files navigation

Tiny tool for pointing to the latest youtube-dl download URL available.

Usage

Using as microservice

Just query against youtube-dl-binary.vercel.app. Binary is cached every 24 hours.

Using at Node.js

first install the module

npm install youtube-dl-binary

Then you can interact with it

const youtubeDlBinary = require('youtube-dl-binary')
const got = require('got')
const fs = require('fs)

;(async () => {
  got.stream(await youtubeDlBinary()).pipe(fs.createWriteStream('youtube-dl'))
})()

License

youtube-dl-binary © microlink.io, released under the MIT License.
Authored and maintained by Kiko Beats with help from contributors.

microlink.io · GitHub microlink.io · Twitter @microlinkhq