Code Monkey home page Code Monkey logo

dl.fish's Introduction

dl.fish CircleCI

Opinionated wrapper around youtube-dl yt-dlp to easily download audio when using the fish shell.

All downloads get saved as MP3 in the $HOME/Music directory, with a filename from the content's title.

Demo

Example usage of dl.fish

Works with any yt-dlp supported source.

Install

Install with your favourite fish package manager, such as fisherman or oh-my-fish

# Install with fisher v4 or v2
fisher install dideler/dl.fish

# Install with fisher v3
fisher add dideler/dl.fish

# Install with oh-my-fish
omf install https://github.com/dideler/dl.fish

Usage

dl "https://www.youtube.com/watch?v=hC8CH0Z3L54"

Goals

At the time of writing (2018-07-22), youtube-dl can extract media from 750+ different sources, its man page is ~3000 lines long, its help output is ~300 lines long, and it has ~120K lines of code.

But 99% of the time, I use it for dowloading music, and got tired of its complicated API and configuration.

This is an opinionated wrapper to download audio as MP3 with a good enough filename to a specific directory.

dl.fish's People

Contributors

dideler avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dl.fish's Issues

Add tests

Basic usage, version, and help.

Mock out youtube-dl?

Save file with metadata

Investigate if this is possible. Should see metadata appear in media players when media imported.

Handle videos?

The primary use case for the script is music.

Should we handle video as a secondary use case?

How would we detect the user's intention?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.