yt-jsc-youtubei
Description
A yt-dlp plugin that uses youtubei.js to extract and solve JsChallenge for Youtube
Installation
Clone the repo and perform pip install . at the repo top dir.
Make sure that one of js runtimes ([ deno, node, bun ]) is available if installing the package from source.
git clone https://github.com/alive4ever/yt-jsc-youtubei
cd yt-jsc-youtubei
git submodule init
git submodule update
pip install .
Or directly using pip
pip install git+https://github.com/alive4ever/yt-jsc-youtubei
Or via pypi (when it is available).
pip install yt-jsc-youtubei
Usage
The yt-jsc-youtubei has priority score of 50, which means it will be executed last. For comparison, the built-in deno ejs has 1000 scores.
The supported js runtimes are [ 'deno', 'node', 'bun' ] and will be tried automatically in that order.
In order to use deno, --no-js-runtimes argument is needed to avoid ejs taking over the challenge. For other js runtimes (node and bun), this plugin will be used automatically. No configuration is needed.
Acknowledgments
Thanks to @LuanRT for youtubei.js package and yt-dlp teams for the main package.
Metadata
Release files for yt-jsc-youtubei 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yt_jsc_youtubei-0.0.5.tar.gz | 13.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yt_jsc_youtubei-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 250.0 kB
Release files / yt_jsc_youtubei-0.0.5.tar.gz
| Download URL | yt_jsc_youtubei-0.0.5.tar.gz |
|---|---|
| Size | 13.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5629eb7c9c6ec7ce242956a4f0ae33b853e92d76f63aca4325afa27530d810f7
|
|
BLAKE2b-256 checksum How to use checksums |
feb3f9afe672e45def4aa0f5788f839582bf7dbbb7106278eac1c9ec3b253dc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / yt_jsc_youtubei-0.0.5-py3-none-any.whl
| Download URL | yt_jsc_youtubei-0.0.5-py3-none-any.whl |
|---|---|
| Size | 236.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bef5d78cdf5f9b31a4e038ccb1d21a588d64b871a2dd0ab84dbd395505fa7e3a
|
|
BLAKE2b-256 checksum How to use checksums |
5e93c5bc0bbc179482b046974622f1022180cd7e9d26ccf6ec2b059d6d5ca667
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|