yt-dlp-invidious


Nameyt-dlp-invidious JSON
Version 0.1.1 PyPI version JSON
download
home_pageNone
SummaryNone
upload_time2024-10-06 07:17:13
maintainerNone
docs_urlNone
authorgrqz
requires_python>=3.8
licenseThis is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. For more information, please refer to <http://unlicense.org/>
keywords yt-dlp yt-dlp-plugin
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Official repository: <https://github.com/grqz/yt-dlp-invidious>

# yt-dlp-invidious
This repository contains a plugin for [yt-dlp](https://github.com/yt-dlp/yt-dlp#readme). See [yt-dlp plugins](https://github.com/yt-dlp/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 [ytdl-org/youtube-dl#31426](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:

```shell
pipx inject yt-dlp yt-dlp-invidious
```
or

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

### Manual install

1. Download the latest release zip from [releases](https://github.com/grqz/yt-dlp-invidious/releases)

2. Add the zip to one of the [yt-dlp plugin locations](https://github.com/yt-dlp/yt-dlp#installing-plugins)

    - 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](https://github.com/yt-dlp/yt-dlp#installing-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"` to yt-dlp. The plugin automatically matches the video id/playlist id so you can just pass 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
Use something like `--extractor-args "invidious:max_retries=3;retry_interval=3.45" --extractor-args "invidiousplaylist:preferred_instance=inv.nadeko.net"` to pass multiple extractor arguments in a single run.  
See [EXTRACTOR ARGUMENTS](https://github.com/yt-dlp/yt-dlp?tab=readme-ov-file#extractor-arguments) for more details.

#### **invidious**
- `max_retries`: maximum retry times. (default: 5)  
    e.g. `infinite` (unrecommended), `3`.
- `retry_interval`: interval between retries (in seconds). (default: 5)  
    e.g. `3.45`.
- `preferred_instance`: netloc of preferred instance (default: `INSTANCES[0]`)  
    e.g. `inv.nadeko.net`.

#### **invidiousplaylist**
- `preferred_instance`: netloc of preferred instance (default: `INSTANCES[0]`)  
    e.g. `inv.nadeko.net`.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "yt-dlp-invidious",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "yt-dlp, yt-dlp-plugin",
    "author": "grqz",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/4f/ce/34bd4a1d80ec36e4ee8434e67e142f33709a883ab27e949a78b9d341e21b/yt_dlp_invidious-0.1.1.tar.gz",
    "platform": null,
    "description": "Official repository: <https://github.com/grqz/yt-dlp-invidious>\n\n# yt-dlp-invidious\nThis repository contains a plugin for [yt-dlp](https://github.com/yt-dlp/yt-dlp#readme). See [yt-dlp plugins](https://github.com/yt-dlp/yt-dlp#plugins) for more details.  \nThe plugin adds native support for Invidious and allows youtube downloads to fallback to Invidious on the error 'Sign in to confirm you\u2019re not a bot. This helps protect our community. Learn more'.  \nThe code is based on [ytdl-org/youtube-dl#31426](https://github.com/ytdl-org/youtube-dl/pull/31426).\n\n## Installation\n\nRequires yt-dlp `2023.01.02` or above.\n\n### pip/pipx\n\nIf yt-dlp is installed through `pip` or `pipx`, you can install the plugin with the following:\n\n```shell\npipx inject yt-dlp yt-dlp-invidious\n```\nor\n\n```shell\npython3 -m pip install -U yt-dlp-invidious\n```\n\n### Manual install\n\n1. Download the latest release zip from [releases](https://github.com/grqz/yt-dlp-invidious/releases)\n\n2. Add the zip to one of the [yt-dlp plugin locations](https://github.com/yt-dlp/yt-dlp#installing-plugins)\n\n    - User Plugins\n        - `${XDG_CONFIG_HOME}/yt-dlp/plugins` (recommended on Linux/MacOS)\n        - `~/.yt-dlp/plugins/`\n        - `${APPDATA}/yt-dlp/plugins/` (recommended on Windows)\n\n    - System Plugins\n       -  `/etc/yt-dlp/plugins/`\n       -  `/etc/yt-dlp-plugins/`\n\n    - Executable location\n        - Binary: where `<root-dir>/yt-dlp.exe`, `<root-dir>/yt-dlp-plugins/`\n\nFor more locations and methods, see [installing yt-dlp plugins](https://github.com/yt-dlp/yt-dlp#installing-plugins)\n\n## Usage\n\n### Auto-fallback mode (recommended)\n\nJust use yt-dlp as normal, the plugin will automatically fall back to invidious when YoutubeIE or YoutubePlaylistIE reported 'Sign in to confirm you\u2019re not a bot. This helps protect our community. Learn more'.\n\n### Force override mode\n\nPass `--ies \"Invidious,InvidiousPlaylist\"` to yt-dlp. The plugin automatically matches the video id/playlist id so you can just pass a video id/playlist id. For a single video id, use `invidious:<id>` instead of `<id>` to force yt-dlp to use Invidious.\n\n### Extractor arguments\nUse something like `--extractor-args \"invidious:max_retries=3;retry_interval=3.45\" --extractor-args \"invidiousplaylist:preferred_instance=inv.nadeko.net\"` to pass multiple extractor arguments in a single run.  \nSee [EXTRACTOR ARGUMENTS](https://github.com/yt-dlp/yt-dlp?tab=readme-ov-file#extractor-arguments) for more details.\n\n#### **invidious**\n- `max_retries`: maximum retry times. (default: 5)  \n    e.g. `infinite` (unrecommended), `3`.\n- `retry_interval`: interval between retries (in seconds). (default: 5)  \n    e.g. `3.45`.\n- `preferred_instance`: netloc of preferred instance (default: `INSTANCES[0]`)  \n    e.g. `inv.nadeko.net`.\n\n#### **invidiousplaylist**\n- `preferred_instance`: netloc of preferred instance (default: `INSTANCES[0]`)  \n    e.g. `inv.nadeko.net`.\n",
    "bugtrack_url": null,
    "license": "This is free and unencumbered software released into the public domain.  Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.  In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  For more information, please refer to <http://unlicense.org/>",
    "summary": null,
    "version": "0.1.1",
    "project_urls": null,
    "split_keywords": [
        "yt-dlp",
        " yt-dlp-plugin"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c46fe37d354a73367d436846c96763b94e0bcd8ecf74fdecd417c10a4e8b20c1",
                "md5": "69aff0bbb4efe9b02d01055399d3f07d",
                "sha256": "2f1559597c3822973396b4ebc98f4f7693cfd5f1d191080b8be77319cd45e077"
            },
            "downloads": -1,
            "filename": "yt_dlp_invidious-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "69aff0bbb4efe9b02d01055399d3f07d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 8195,
            "upload_time": "2024-10-06T07:17:11",
            "upload_time_iso_8601": "2024-10-06T07:17:11.925891Z",
            "url": "https://files.pythonhosted.org/packages/c4/6f/e37d354a73367d436846c96763b94e0bcd8ecf74fdecd417c10a4e8b20c1/yt_dlp_invidious-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4fce34bd4a1d80ec36e4ee8434e67e142f33709a883ab27e949a78b9d341e21b",
                "md5": "7b30d396fc653e0009066309e56748d6",
                "sha256": "dff47ca20ee63067a4b587fc3c1612b171a95cdf56a200ede0d9d8b68fce24a9"
            },
            "downloads": -1,
            "filename": "yt_dlp_invidious-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "7b30d396fc653e0009066309e56748d6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 9421,
            "upload_time": "2024-10-06T07:17:13",
            "upload_time_iso_8601": "2024-10-06T07:17:13.099551Z",
            "url": "https://files.pythonhosted.org/packages/4f/ce/34bd4a1d80ec36e4ee8434e67e142f33709a883ab27e949a78b9d341e21b/yt_dlp_invidious-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-06 07:17:13",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "yt-dlp-invidious"
}
        
Elapsed time: 0.67132s