Skip to main content

Js Challenge Provider based on youtubei.js

Project description

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.

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_jsc_youtubei-0.0.5.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yt_jsc_youtubei-0.0.5-py3-none-any.whl (236.5 kB view details)

Uploaded Python 3

File details

Details for the file yt_jsc_youtubei-0.0.5.tar.gz.

File metadata

  • Download URL: yt_jsc_youtubei-0.0.5.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for yt_jsc_youtubei-0.0.5.tar.gz
Algorithm Hash digest
SHA256 5629eb7c9c6ec7ce242956a4f0ae33b853e92d76f63aca4325afa27530d810f7
MD5 8eb6fc1f6285e02b0ce6d2e0d6137026
BLAKE2b-256 feb3f9afe672e45def4aa0f5788f839582bf7dbbb7106278eac1c9ec3b253dc1

See more details on using hashes here.

File details

Details for the file yt_jsc_youtubei-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for yt_jsc_youtubei-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bef5d78cdf5f9b31a4e038ccb1d21a588d64b871a2dd0ab84dbd395505fa7e3a
MD5 7477add781fa7d5b4e6c6aa4a4de7a19
BLAKE2b-256 5e93c5bc0bbc179482b046974622f1022180cd7e9d26ccf6ec2b059d6d5ca667

See more details on using hashes here.

Supported by

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