Giter Club home page Giter Club logo

ytdl's Introduction

ytdl

Youtube Downloader

Installation

Option 1. One-click Easy Installation

You can easily install and set up this script with one click using the provided batch file:

Download .bat
  1. Click the "Download .bat" button above.
  2. Run the setup.bat file.
  3. Follow the on-screen instructions to complete the installation.

This will automate the installation of Python, required packages, and set up the environment for running the script.

YouTube Video and Audio Downloader

This Python script allows you to download audio or video from YouTube videos. It uses the yt_dlp library to handle the downloads.

Usage

Run the script from the command line using the following syntax:

ytdr <type> {YT_URL}

or run the script direct. Using the following.

python youtube_downloader.py <type> <url> [--audio-format <audio_format>] [--audio-quality <audio_quality>] [--video-format <video_format>] [--video-quality <video_quality>] [--output <output_folder>]
<type>: Type of download. Choose from audio, video, or both.
<url>: URL of the YouTube video you want to download.

Argparse Commands

--audio-format <audio_format>: (Optional) Audio format, default is mp3. Choose from mp3 or wav.
--audio-quality <audio_quality>: (Optional) Audio quality, default is 320. Specify the desired quality (e.g., 320 for mp3, 44100:16 for wav).
--video-format <video_format>: (Optional) Video format, default is mp4. Choose from mp4 or mkv.
--video-quality <video_quality>: (Optional) Video quality, default is 720. Specify the desired quality (e.g., 720p, 1080p, etc.).
--output <output_folder>: (Optional) Output folder for downloaded files, default is Youtube_Downloads.

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.