@resync-tv/yt-dl
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

yt-dl

a wrapper for various youtube downloading solutions

synopsis

There are many solutions to programmatically download a YouTube video, but all of them are flawed in some way or another.

First there was youtube-dl which is perhaps the oldest and most popular tool. Then I discovered ytdl-core which is written in JavaScript and seems to be faster than youtube-dl, but also rather slow to update to YouTube's changes. And not too long ago I stumbled across yt-dlp, which is a fork of youtube-dl with various improvements and seemingly faster updates.

So I thought: This is a mess and most people shouldn't have to worry about which downloader is working under the hood to get their video, so I'm building this adapter to unify all of them somewhat.

This probably won't be feature-complete and rather will be focused on the core use of a YouTube downloader, which is to get URLs for streams and some metadata about the content. But it will be a solid base to build upon if you need any more features, so feel free to fork and send a PR.

technical details

This library is primarely modeled around ytdl-core because that's what resync was based on initially.

You construct an instace and pass it the desired adapters. By default it tries to resolve with the adapters one-by-one, but can be configured by the second argument to first-to-resolve.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.6
    0
    • latest

Version History

Package Sidebar

Install

npm i @resync-tv/yt-dl

Weekly Downloads

0

Version

0.1.6

License

MIT

Unpacked Size

26.2 kB

Total Files

15

Last publish

Collaborators

  • vaaski