GithubHelp home page GithubHelp logo

lostb053 / ytdl-termux Goto Github PK

View Code? Open in Web Editor NEW
25.0 2.0 4.0 11.38 MB

A simple script for easy downloading of yt vids

Home Page: https://github.com/lostb053/ytdl-termux/releases

License: MIT License

Shell 100.00%
android interactive termux yt-dlp yt-downloader

ytdl-termux's Introduction

A simple script that makes downloading videos from YouTube easier using yt-dlp and spotify_dl

Requirements

  • Android device with Android version 7.0 or above
  • Termux
  • Python
  • FFMPEG
  • yt-dlp (pip package)
  • spotify_dl (pip package)

Installation

  • Install Termux app from F-Droid (Do not use playstore version)
  • Install Termux:API
  • For a better appeal/look on the app, install Litmux, simply follow the instructions
  • If you opt for Litmux, after running the installation cmd, exit the app by entering exit command, twice if it doesn't closes app after single try. You may later be prompt to setup Litmux, just answer the questions asked
  • Run the following command, give permits and wait till it's completed
bash -c "$(curl -fsSL https://bit.ly/install-ytdl-termux)"

Note: You don't need to go out of your way to install python, ffmpeg, etc on termux. The script installs everything

Usage

Can just share to termux while using youtube, or use following commands

USAGE: ytdl [OPTIONS]

ytdl        invokes the function, no required options
-u          option to update this program
-h          to print this help message
-q          quiet mode, will show no progress, download quietly
-a link     to download audio
-b link     download best video (with in-built audio) available
-s link     download audio from youtube using metadata from any spotify link

This command separately downloads best video and best audio available and merges them use -b option to download video with in-built audio and avoid merging -s option supports spotify track, playlist, album and artist urls Options -a, -b, -s require link

Selection of quality

  • Best - 8k, 4k
  • High - 2k, 1080p
  • Medium - 720p, 480p
  • Low - 360p, 240p, 144p
  • When Higher formats are unavailable, it automatically switches to lower one

ytdl plugin in action

ytdl-termux's People

Contributors

lostb053 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ytdl-termux's Issues

Does not work for sites other than youtube

It always prompts if you want video/audio and then it prompts for quality selection, making it fail even generic video hosts, like a direct link do the video file or sites like Imgur/gfycat.
How do I uninstall it?

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.