0.8.1 • Published 5 years ago

yodl v0.8.1

Weekly downloads
5
License
GPL-3.0-or-later
Repository
github
Last release
5 years ago

yodl

Waffle.io - Columns and their card count

...not to be confused with mgrahamjo/yodel, stands for Youtube Downloader. It is a wrapper for fent/node-ytdl-core, just like JimmyBoh/pully and fent/node-ytdl. It (will) take inspiration from those two as well. Because of that, I was originally going to name it "yet another node youtube downloader wrapper", but 'yanydw' doesn't roll off the tongue as well.

Two of the key features that are planned is queue processing, and a player which depends on said queue processing. You can see more planned features on Waffle.io.

Usage

Prerequisites

  • Node.js
  • ffmpeg and ffprobe (guide)
  • ffplay

Installing

It is recommended to install this package globally -g, as it is its intended use.

Through NPM: npm i -g yodl

You can also clone from the GitHub repo and run npm i -g at the root of the project.

Command Usage

yodl [options] "[id|url]"

ID

Quotation marks are optional but necessary when the URL contains '&' like '&time='. Yes, you can pass a URL into the program and it will extract the ID from it.

Options

Output Path

-o=[default|path]

This tells yodl to download to a given path.

  • default - Default path: [homedir]/Downloads/yodl/
  • path - A path. Enclose with "".

Example: yodl -o="C:/Users/Owner/yodl/downloads/"

Format

-f=[mp4|mp3|m4a|mov|avi|flv]

This tells yodl what output format to use.

  • mp3 - Default

Speaking of URLs...

YouTube can have extra 'junk' added to the URL, like '&t=' or '&index=', both of which I have tackled already. If you find any URL 'junk' that I haven't found yet, please open an issue on the repo. Thank you!

Troubleshooting

If it errors [ERR!] Error: ffmpeg exited with code 1: No such file or directory, usually it will mean that you have to create the directory first. Create it as:

  • C:\Users\[user]\Downloads\yodl - Windows
  • /home/[user]/Downloads/yodl - Linux
  • /Users/[user]/Downloads/yodl - macOS

If you have created an output directory beforehand, use the Output Path option.

Please Note...

It is against YouTube's TOS (4.C) to download its media through any means other than its website or Embeddable Player. Use this software at your own risk.

0.8.1

5 years ago

0.8.0

5 years ago

0.7.0

5 years ago

0.6.4

5 years ago

0.6.3

5 years ago

0.6.2

5 years ago

0.6.1

5 years ago

0.6.0

5 years ago

0.5.0

5 years ago