Skip to main content

No project description provided

Project description

Official repository: https://github.com/grqz/yt-dlp-invidious

yt-dlp-invidious

This repository contains a plugin for yt-dlp. See yt-dlp plugins for more details.
The plugin adds native support for Invidious and allows youtube downloads to fallback to Invidious on the error 'Sign in to confirm you’re not a bot. This helps protect our community. Learn more'.
The code is based on https://github.com/ytdl-org/youtube-dl/pull/31426.

Installation

Requires yt-dlp 2023.01.02 or above.

pip/pipx

If yt-dlp is installed through pip or pipx, you can install the plugin with the following:

pipx inject yt-dlp yt-dlp-invidious

or

python3 -m pip install -U yt-dlp-invidious

Manual install

  1. Download the latest release zip from releases

  2. Add the zip to one of the yt-dlp plugin locations

    • User Plugins

      • ${XDG_CONFIG_HOME}/yt-dlp/plugins (recommended on Linux/MacOS)
      • ~/.yt-dlp/plugins/
      • ${APPDATA}/yt-dlp/plugins/ (recommended on Windows)
    • System Plugins

      • /etc/yt-dlp/plugins/
      • /etc/yt-dlp-plugins/
    • Executable location

      • Binary: where <root-dir>/yt-dlp.exe, <root-dir>/yt-dlp-plugins/

For more locations and methods, see installing yt-dlp plugins

Usage

Auto-fallback mode (recommended)

Just use yt-dlp as normal, the plugin will automatically fall back to invidious when YoutubeIE or YoutubePlaylistIE reported 'Sign in to confirm you’re not a bot. This helps protect our community. Learn more'.

Force override mode

Pass --ies "Invidious,InvidiousPlaylist,default,-youtube,-youtubeplaylist" to yt-dlp. The plugin automatically matches the video id/playlist id so you can just pass a YouTube link or even just a video id/playlist id. For a single video id, use invidious:<id> instead of <id> to force yt-dlp to use Invidious.

Extractor arguments

See EXTRACTOR ARGUMENTS.

  • InvidiousIE:
    • max_retries: maxium retry times. (default: 5)
      e.g. --extractor-args "Invidious:max_retries=infinite" (unrecommended),
      --extractor-args "Invidious:max_retries=3".
    • retry_interval: interval between retries (in seconds). (default: 5)
      e.g. --extractor-args "Invidious:retry_interval=3.45"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yt_dlp_invidious-0.1.0.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

yt_dlp_invidious-0.1.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file yt_dlp_invidious-0.1.0.tar.gz.

File metadata

  • Download URL: yt_dlp_invidious-0.1.0.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for yt_dlp_invidious-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a07522ad63b5073d72f353012a1f59db77d56e46a90f2c8fd4f8afb8a46f71ba
MD5 b1d6a5fd8b1e5b5dd990385ec0c6a38a
BLAKE2b-256 09660a0bf3a350dd9c21a9b486e36d27abd1a2d4a651894f4345e944efd5c98f

See more details on using hashes here.

File details

Details for the file yt_dlp_invidious-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for yt_dlp_invidious-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9676f2e24224ab83f19b7051b9c9ff4b8b5b37184c413efcdb0e073560c49045
MD5 9a743fde1460d615cd4dce2369bc17d5
BLAKE2b-256 6768bfb6b76143d85826e03e19ce81a96cf411cbe50977bd2edf300cea538ddb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page