yt-dlp-ytse


Nameyt-dlp-ytse JSON
Version 0.3.0 PyPI version JSON
download
home_pageNone
SummaryNone
upload_time2024-11-14 07:26:17
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT License Copyright (c) 2024 coletdjnz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 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 OR COPYRIGHT HOLDERS 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.
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/coletdjnz/yt-dlp-ytse>

# YouTube Streaming Experiments (YTSE)

Experimental YouTube streaming features for yt-dlp.

> [!CAUTION]
> These features are experimental. They may change without notice.

<!-- TOC -->
* [YouTube Streaming Experiments (YTSE)](#youtube-streaming-experiments-ytse)
  * [Features](#features)
  * [Installing](#installing)
    * [pip/pipx](#pippipx)
  * [Usage](#usage)
    * [UMP Downloader](#ump-downloader)
    * [SABR Downloader](#sabr-downloader)
  * [Acknowledgements](#acknowledgements)
<!-- TOC -->

## Features

- [UMP Downloader](#ump-downloader)
- [SABR Downloader](#sabr-downloader)

## Installing

**Requires yt-dlp `2024.10.22` or above.**

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

### pip/pipx

```
pipx inject yt-dlp yt-dlp-ytse
```
or

```
python3 -m pip install -U yt-dlp-ytse
```


<!--
### Manual install

1. Download the latest release zip from [releases](https://github.com/coletdjnz/yt-dlp-ytse/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) 

-->

If installed correctly, you should see the YTSE YouTubeIE plugin override in `yt-dlp -v` output:

    [debug] Extractor Plugins: YTSE (YoutubeIE)


## Usage


### UMP Downloader

Enable UMP formats:

`--extractor-args youtube:formats=ump`

Prioritize UMP formats:

`-S proto:ump`

Debug UMP messages:

`--extractor-args "youtube:ump_debug=1;formats=ump"`


### SABR Downloader

Enable SABR formats:

`--extractor-args youtube:formats=sabr`

<!--
Prioritize SABR formats:

`-S proto:sabr`
-->

Debug SABR messages:

`--extractor-args "youtube:sabr_debug=1;formats=sabr"`

There are currently issues getting valid formats for ios. For now, it is recommended to use with a web client (`--extractor-args youtube:player-client=mweb`)

Supports:
- Standard video downloading
  - Note: SABR does not natively support downloading only video stream, so an audio stream is always downloaded (but discarded)
- Livestreams

Not supported:
- `--download-sections`
- `--concurrent-fragments/-N`
- Resume downloads


See also:
- [mitmproxy SABR parser script](utils/mitmproxy_sabrdump.py)
- [Read SABR Request Python script](utils/read_sabr_request.py)
- [Read SABR Response Python script](utils/read_sabr_response.py)


## Acknowledgements

- [googlevideo](https://github.com/LuanRT/googlevideo) by [@LuanRT](https://github.com/LuanRT) 
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "yt-dlp-ytse",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "yt-dlp, yt-dlp-plugin",
    "author": null,
    "author_email": "coletdjnz <coletdjnz@protonmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/c9/a6/4f6e2ad01b65f16ed7ec5e400065bae09f17b77295d0962479b2627126f4/yt_dlp_ytse-0.3.0.tar.gz",
    "platform": null,
    "description": "Official repository: <https://github.com/coletdjnz/yt-dlp-ytse>\n\n# YouTube Streaming Experiments (YTSE)\n\nExperimental YouTube streaming features for yt-dlp.\n\n> [!CAUTION]\n> These features are experimental. They may change without notice.\n\n<!-- TOC -->\n* [YouTube Streaming Experiments (YTSE)](#youtube-streaming-experiments-ytse)\n  * [Features](#features)\n  * [Installing](#installing)\n    * [pip/pipx](#pippipx)\n  * [Usage](#usage)\n    * [UMP Downloader](#ump-downloader)\n    * [SABR Downloader](#sabr-downloader)\n  * [Acknowledgements](#acknowledgements)\n<!-- TOC -->\n\n## Features\n\n- [UMP Downloader](#ump-downloader)\n- [SABR Downloader](#sabr-downloader)\n\n## Installing\n\n**Requires yt-dlp `2024.10.22` or above.**\n\nIf yt-dlp is installed through `pip` or `pipx`, you can install the plugin with the following:\n\n### pip/pipx\n\n```\npipx inject yt-dlp yt-dlp-ytse\n```\nor\n\n```\npython3 -m pip install -U yt-dlp-ytse\n```\n\n\n<!--\n### Manual install\n\n1. Download the latest release zip from [releases](https://github.com/coletdjnz/yt-dlp-ytse/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-->\n\nIf installed correctly, you should see the YTSE YouTubeIE plugin override in `yt-dlp -v` output:\n\n    [debug] Extractor Plugins: YTSE (YoutubeIE)\n\n\n## Usage\n\n\n### UMP Downloader\n\nEnable UMP formats:\n\n`--extractor-args youtube:formats=ump`\n\nPrioritize UMP formats:\n\n`-S proto:ump`\n\nDebug UMP messages:\n\n`--extractor-args \"youtube:ump_debug=1;formats=ump\"`\n\n\n### SABR Downloader\n\nEnable SABR formats:\n\n`--extractor-args youtube:formats=sabr`\n\n<!--\nPrioritize SABR formats:\n\n`-S proto:sabr`\n-->\n\nDebug SABR messages:\n\n`--extractor-args \"youtube:sabr_debug=1;formats=sabr\"`\n\nThere are currently issues getting valid formats for ios. For now, it is recommended to use with a web client (`--extractor-args youtube:player-client=mweb`)\n\nSupports:\n- Standard video downloading\n  - Note: SABR does not natively support downloading only video stream, so an audio stream is always downloaded (but discarded)\n- Livestreams\n\nNot supported:\n- `--download-sections`\n- `--concurrent-fragments/-N`\n- Resume downloads\n\n\nSee also:\n- [mitmproxy SABR parser script](utils/mitmproxy_sabrdump.py)\n- [Read SABR Request Python script](utils/read_sabr_request.py)\n- [Read SABR Response Python script](utils/read_sabr_response.py)\n\n\n## Acknowledgements\n\n- [googlevideo](https://github.com/LuanRT/googlevideo) by [@LuanRT](https://github.com/LuanRT) ",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 coletdjnz  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  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 OR COPYRIGHT HOLDERS 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.",
    "summary": null,
    "version": "0.3.0",
    "project_urls": null,
    "split_keywords": [
        "yt-dlp",
        " yt-dlp-plugin"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bf8f793597a738c59bfa5ec02d0a580156834f1f868b65d598841c4208ae4a46",
                "md5": "f446d1cfccc4450b1c54c33cd29cb60d",
                "sha256": "8df856f9f69da1bae0e26212943d8c51b7c047b6896657f0d4383afac583877f"
            },
            "downloads": -1,
            "filename": "yt_dlp_ytse-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f446d1cfccc4450b1c54c33cd29cb60d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 32647,
            "upload_time": "2024-11-14T07:26:15",
            "upload_time_iso_8601": "2024-11-14T07:26:15.643960Z",
            "url": "https://files.pythonhosted.org/packages/bf/8f/793597a738c59bfa5ec02d0a580156834f1f868b65d598841c4208ae4a46/yt_dlp_ytse-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c9a64f6e2ad01b65f16ed7ec5e400065bae09f17b77295d0962479b2627126f4",
                "md5": "58498b47deaf8237c7607dc44681510f",
                "sha256": "249107d888c4a9cbf748e451ec5fb193f8d44a193efd8bd7f134826c8e949a34"
            },
            "downloads": -1,
            "filename": "yt_dlp_ytse-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "58498b47deaf8237c7607dc44681510f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 24922,
            "upload_time": "2024-11-14T07:26:17",
            "upload_time_iso_8601": "2024-11-14T07:26:17.924964Z",
            "url": "https://files.pythonhosted.org/packages/c9/a6/4f6e2ad01b65f16ed7ec5e400065bae09f17b77295d0962479b2627126f4/yt_dlp_ytse-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-14 07:26:17",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "yt-dlp-ytse"
}
        
Elapsed time: 0.55938s