All Projects → jimbuck → Pully

jimbuck / Pully

Licence: mit
A simple CLI and library for downloading high quality YouTube videos!

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Pully

Json 2 Csv
Convert JSON to CSV *or* CSV to JSON!
Stars: ✭ 210 (+37.25%)
Mutual labels:  cli, hacktoberfest, node-module
Bundle Phobia Cli
📦 Cli for the node BundlePhobia Service 😱
Stars: ✭ 108 (-29.41%)
Mutual labels:  cli, hacktoberfest
Texture Synthesis
🎨 Example-based texture synthesis written in Rust 🦀
Stars: ✭ 1,337 (+773.86%)
Mutual labels:  cli, hacktoberfest
Simplesh
🐧 Quick installation for Ubuntu terminal.
Stars: ✭ 152 (-0.65%)
Mutual labels:  cli, hacktoberfest
Rymfony
A work-in-progress CLI tool built in Rust to mimic the Symfony CLI binary
Stars: ✭ 89 (-41.83%)
Mutual labels:  cli, hacktoberfest
Tasklite
The CLI task manager for power users
Stars: ✭ 91 (-40.52%)
Mutual labels:  cli, hacktoberfest
Fuego
Fuego is a command line client for the firestore database (https://firebase.google.com/docs/firestore).
Stars: ✭ 110 (-28.1%)
Mutual labels:  cli, hacktoberfest
Ritchie Formulas
This repository contains the community formulas that can be executed through Ritchie CLI once imported. This tool is an open source product that allows you to create, store and share any kind of automations, executing them through command lines, to run operations or start workflows ⚙️ 🖥 💡
Stars: ✭ 84 (-45.1%)
Mutual labels:  cli, hacktoberfest
Beets
music library manager and MusicBrainz tagger
Stars: ✭ 10,522 (+6777.12%)
Mutual labels:  cli, hacktoberfest
Spectre.cli
An extremely opinionated command-line parser.
Stars: ✭ 121 (-20.92%)
Mutual labels:  cli, hacktoberfest
Awesome Wp Cli
A curated list of packages and resources for WP-CLI, the command-line interface for WordPress.
Stars: ✭ 129 (-15.69%)
Mutual labels:  cli, hacktoberfest
Gomplate
A flexible commandline tool for template rendering. Supports lots of local and remote datasources.
Stars: ✭ 1,270 (+730.07%)
Mutual labels:  cli, hacktoberfest
Pypistats
Command-line interface to PyPI Stats API to get download stats for Python packages
Stars: ✭ 86 (-43.79%)
Mutual labels:  cli, hacktoberfest
Generator Ngx Rocket
🚀 Extensible Angular 11+ enterprise-grade project generator
Stars: ✭ 1,329 (+768.63%)
Mutual labels:  cli, hacktoberfest
Awesome Laravel Zero
👋 START HERE! A curated list of Laravel Zero libraries, resources and projects
Stars: ✭ 84 (-45.1%)
Mutual labels:  cli, hacktoberfest
Mole
CLI application to create ssh tunnels focused on resiliency and user experience.
Stars: ✭ 1,520 (+893.46%)
Mutual labels:  cli, hacktoberfest
Plugin Installation Manager Tool
Plugin Manager CLI tool for Jenkins
Stars: ✭ 138 (-9.8%)
Mutual labels:  cli, hacktoberfest
Branchsite
CLI tool for publishing your static website to a separate branch
Stars: ✭ 65 (-57.52%)
Mutual labels:  cli, node-module
Navi
An interactive cheatsheet tool for the command-line
Stars: ✭ 10,055 (+6471.9%)
Mutual labels:  cli, hacktoberfest
Scaffold Static
Scaffolding utility for vanilla-js
Stars: ✭ 111 (-27.45%)
Mutual labels:  cli, hacktoberfest

pully

Build Status Code Coverage Dependencies DevDependencies npm Monthly Downloads Total Downloads

A simple CLI for downloading high quality Youtube videos!

This tool allows the downloading of Youtube videos of 1080p and higher qualities. The video and audio is separate, so this combines them after downloading both.

ATTENTION

While this tool makes it easy to download content from Youtube, I do not endorse the theft of content created by hardworking citizens of the Internet. If you use Youtube as a primary source of entertainment, then please remember to turn off ad-block, buy their merchandise, or donate to the content creators you love to watch. And if you can't do that then simply like, comment, and subscribe to help them get more people enjoying their content.

CLI

Installation

Note: Pully requires ffmpeg to be installed. fluent-ffmpeg has great instructions on how to set this up. Pully now automatically downloads the required version of ffmpeg thanks to kribblo/node-ffmpeg-installer!

npm i -g pully

Usage

pully download <url> [-p <preset>="hd"] [-d <outputDir>="."] [-t <filenameTemplate>="${channelName}/${videoTitle}"] [--silent]

pully set dir "~/Jim/videos/YouTube"

pully get dir # Prints ~/Jim/videos/YouTube

pully dl <url> # Downloads specified video to ~/Jim/videos/YouTube/<author>/<title>.mp4

Downloads a specified video based on a preset, defaulting to HD (see below). By default the file is named after the title and placed in a folder named after the channel.

Presets

Presets are used in the CLI version to simplify getting the video you want. Presets are available in the module, and can be overridden/extended!

  • hd This will download the best video up to 1080p60. (default)
  • 2k This will download the best video up to 1440p60.
  • 4k This will download the best video up to 2160p60.
  • max This will download the best video, no limits on resolution or framerate.
  • hfr This will download the video with the highest framerate.
  • mp3 This will only download the audio only, and convert it to mp3.

Node Module

Installation

npm i pully

Usage

import { Pully, Presets } from 'pully';

const pully = new Pully();

const video = await pully.query('<some-neato-video-url>');
console.log(`${video.videoTitle} by ${video.channelName} has ${video.views} views!`);

const options = {
  url: '<some-really-high-def-video-url>',
  preset: Presets.FourK,
  progress: (data) => console.log(data.percent + '%') // Progress reporter callback...
};

const { path, format, duration } = await pully.download(options);
console.log(path);     // Path to the downloaded file.
console.log(format);   // Object containing all audio/video/meta data.
console.log(duration); // Number of milliseconds the download took.

Contribute

  1. Fork it
  2. npm i
  3. npm run watch
  4. Make changes and write tests.
  5. Send pull request! 😎

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].