Giter Club home page Giter Club logo

youtubedownloader's Introduction

Youtube Video Downloader

Made by: iThief

Usage:

ytdl.exe [mode] [options]
(order of mode and options is not important)

Available modes:

-l --list [URL]

Outputs listing of available formats and other meta data. Can be used with -j, -nc, -o, -fmt

-d --download [URL]

Downloads given video in selected format. Can be combined with -j, -nc, -o, -fmt, -f

-i --interactive [URL]

Interactive version of downloader. URL is optional. Can be combined with -j, -nc, -fmt

Available options:

-nc --no-cache

Do not use cached results and do not create cache files.

-j --json

Use JSON format as output. If used in -d mode, output consists of progress and/or error messages.

-fmt --fmt-endpoint [URL]

Use custom FMT parsing endpoint. Default behavior is to use built-in parser.

-f --format [FORMAT]

Specify which formats to download. See below.

-o --output [FILE]

If used in -d mode, this represents template for downloaded files. Otherwise it's file to which all output should be stored in. If omitted in -d mode, video name is used as a template.

-p --peek

If used in -d mode, simulates download without actually downloading anything.

-cf --cache-file [FILE]

Use cache file. If omitted, default "youtube.cache" file is used

-mcs --max-cache-size [SIZE]

Maximum allowed cache size in bytes. If exceeded, cache file is trimmed randomly.

Formats:

Basic syntax:

-[A|V|AV][ID]

Download specific format ID as listed in -l and -i mode.

Advanced syntax:

(-[A|V|AV][QUALITY][+-]?/[EXTENSION_LIST|\*])*

Generic format. Multiple files can be specified

-[A|V|AV]

if "Audio only", "Video only" or "Audio and video" should be queried

[QUALITY][+|-]?

String representation of a desired quality. If "+" ("-") is used, query exact quality or higher (lower) if no such quality is available. /[EXTENSION_LIST*|*] - List of extensions (formats) that identifies priorities of identical quality results. If * is used, any format is chosen.

Format examples:

-V360p+/mp4,flv,*

Download video in quality 360p or higher, first look for mp4, then look for flv and then take any available format

-A128k-/*

Download any audio file in quality 128k or lower, format doesn't matter

-A128k-/*-V1080p/*

Download any audio file in quality 128k or lower, format doesn't matter and then download a video file in quality 1080p, format doesn't matter

FMT Endpoints:

Supported are REST endpoints in maple3142/ytdl format.

Example endpoint: https://maple3142-ytdl-demo.glitch.me/api

TODO:

Speed up downloads (use custom https)

Add stream muxer

youtubedownloader's People

Stargazers

 avatar Mohamed Emad Mahrous avatar  avatar Lim Sampong avatar SamTheDev avatar  avatar  avatar mystery_ avatar Neyko Naydenov avatar Ricardo Gonçalves avatar Saleh avatar  avatar Raman Verma avatar Ibrahim Elsheikh avatar Ahmed Ramadan Abdelazeem avatar नीरज शर्मा  avatar Reynaldo avatar  avatar Hubery Hsu avatar Vincent Pancaldi avatar Bepartofyou-七曦 avatar Lion avatar

Watchers

James Cloos avatar  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.