Code Monkey home page Code Monkey logo

ytdl's Introduction

This is a tasker+termux project to download YouTube videos, audio, playlists, etc on android easily.

Features

  • Download YouTube videos, playlists and audio.
  • Supports downloading by copying the YouTube link to the clipboard, or sharing link to termux app.
  • Supports all YouTube links, including channel links, playlist links, embedded video links, and YT music links. Livestream downloading hasn't been tested yet.
  • Select or unselect videos in a playlist/channel that you want to download.
  • Get a live update of download status in the notification.
  • Cancel any download from the notification.
  • Does not require any Tasker Plugins.
  • Option to enable cataloging of playlists, by downloading playlists to a separate folder of their name.

Pre-requisites

Installation

  1. Copy and paste the following commands in termux and press Enter key (also press enter on any prompts).
  • To upgrade termux packages:
    apt update && apt upgrade -y
  • To install ytdl:
    curl https://raw.githubusercontent.com/Practicalbutterfly5/ytdl/main/installytdl | bash
    It will automatically download these Termux packages- ffmpeg, python, yt-dlp, atomicparsley, git and clone ytdl repo.
  1. Tasker will open automatically and prompt to import ytdl project. If it doesn't, import the project manually from /sdcard/Tasker/ytdl/ytdl.prj.xml

  2. Launch the ytdl_Initial_Setup task in tasker and configure your preferences. Re-run this task if you want to change any settings in the future.

USAGE

After ytdl is installed and the setup task is run, you are ready to download using any of these methods.

  • Method 1
    Share any YouTube link to termux app. Termux app will open momentarily and then close, if it didn't have any active sessions.

    To use this method on Android version>=10, make sure that Termux has "Display over other apps" permission.

  • Method 2
    Android version<=9, will be able to copy the YouTube link to the clipboard and trigger ytdl.

    Android version>=10, will need to give tasker android.permission.WRITE_SECURE_SETTINGS. This can be done using adb for non-root users, rooted users can simply execute pm grant net.dinglisch.android.taskerm android.permission.WRITE_SECURE_SETTINGS in rooted shell.

Version 1.30 -2023/03/12 - Moving over to yt-dlp and ditching youtube-dl for good. Functionality should not be affected.

ytdl's People

Contributors

atpray avatar kv1dr avatar practicalbutterfly5 avatar

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.