Skip to main content

YoutubeDownloader

YoutubeDownloader is an automated service to download multiple youtube videos at a time.

About

YoutubeDownloader is written in Python. It uses Asynchronous Python Multiprocessing at its heart which facilitates user to download more than one video at a time.

YoutubeDownloader must use a configuration file. It supports a YAML / JSON format of configuration file. This configuration file gives structure and usability to the service. It defines what videos/playlists needs to be downloaded and how they are going to be stored.

Configuration Syntax

YoutubeDownloader supports YAML / JSON configuration formats. YoutubeDownloader prefers YAML more than JSON. Below is the snippet of sample configurations in YAML / JSON format.

settings:
  process: 2
download:
  mostlyinsane:
    dirname: '../mostlyinsane'
    videos:
      - 'https://www.youtube.com/watch?v=vcKPjDUc5EQ'
  trippling:
    dirname: 'trippling'
    playlists: 'https://www.youtube.com/watch?list=PLTB0eCoUXEraZe3d7fJRdB-znE5D0cMZ7'
  official-ceogiri:
    dirname: 'official-ceogiri'
    playlists:
        - 'https://www.youtube.com/watch?list=PLTB0eCoUXEraZe3d7fJRdB-znE5D0cMZ7'
{
    "settings": {
        "process": 5
    },
    "download": {
        "mostlyinsane": {
            "dirname": "../mostlyinsane",
            "videos": [
                "https://www.youtube.com/watch?v=vcKPjDUc5EQ"
            ]

        },
        "trippling": {
            "dirname": "trippling",
            "playlists": "https://www.youtube.com/watch?list=PLTB0eCoUXEraZe3d7fJRdB-znE5D0cMZ7"

        },
        "official-ceogiri": {
            "dirname": "official-ceogiri",
            "playlists": [
                "https://www.youtube.com/watch?list=PLTB0eCoUXEraZe3d7fJRdB-znE5D0cMZ7"
            ]

        }
    }
}

settings defines service level variables. - process to force YoutubeDownloader to use Asynchronous Python Multiprocessing and tells how many processes should be deployed to download videos/playlists at a time.

download defines what videos/playlists to download. It tags dirnames with videos/playlists internally and store the downloaded videos/playlists in the respective directory.

  • dirname relative / absolute directory path to store videos in.

  • videos single / array of youtube videos link to download.

  • playlists single / array of youtube playlists link to download.

Install

This is a pure-Python package built for Python 2.6+ and Python 3.0+. To set up:

sudo pip install ytdownloader

Options

ytdownloader --help
  • config specifies the location for the configuration file to YoutubeDownloader. If it omits, YoutubeDownloader looks in the current directory for the configuration file.

  • --version specifies the currect version of YoutubeDownloader.

  • --about about text for YoutubeDownloader

Usage

ytdownloader --version    // latest version of ytdownloader
ytdownloader --about      // about text for ytdownloader
ytdownloader              // start the ytdownloader and search config file in current directory
ytdownloader docs/config.yaml // start the ytdownloader and use docs/config.yaml as config file

Metadata

Release files for ytdownloader 0.1.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ytdownloader 0.1.14
File Size Uploaded Provenance Actions
ytdownloader-0.1.14.tar.gz 6.8 kB Without provenance Details for ytdownloader-0.1.14.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ytdownloader 0.1.14
File Interpreter ABI Platform Actions
ytdownloader-0.1.14-py2.py3-none-any.whl Python 3, Python 2 none any Details for ytdownloader-0.1.14-py2.py3-none-any.whl

Total release size: 11.3 kB

Release files / ytdownloader-0.1.14.tar.gz

Download URL ytdownloader-0.1.14.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
31264329db5cf03054a5971955d647fae3458f26ae4a95d0adec2dcc2395f9cf
BLAKE2b-256 checksum
How to use checksums
97aa6ac1edc9935fa670b1d9a2fa7b8162dd06365646e10191fa6244d857bedd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ytdownloader-0.1.14-py2.py3-none-any.whl

Download URL ytdownloader-0.1.14-py2.py3-none-any.whl
Size 4.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
271100b7e544396a6bc2c443a8c0c72d895c24db98f03084949e578d3676af65
BLAKE2b-256 checksum
How to use checksums
8fc2b79dd0f83a598d488fc556c482a51c5cd5ead440b4a5ccdb8c202ce3b4e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ytdownloader 0.1.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page