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.4.tar.gz (13.2 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.4-py3-none-any.whl (228.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yt_jsc_youtubei-0.0.4.tar.gz
  • Upload date:
  • Size: 13.2 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.4.tar.gz
Algorithm Hash digest
SHA256 d84e2f12563cc44ca9d91e4c75895200e42dd9bf292eaacca288fce2f2206e13
MD5 ebd8e9dc726c6bc8b015738b5e49319d
BLAKE2b-256 e96b2f1b24df49d9b3d5808b8050277a77b7aeba7bdd1a2895a6699ea1bcc37b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yt_jsc_youtubei-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b541b9bac5d5c28bcb40eca8116823325074a3b7668fd048bc99707c0d2d8a41
MD5 3b4abcb900d0862120e49d7af587dad5
BLAKE2b-256 de72856474d463fbb1fe8983f590d3c893908cec324581cbc5f39b423b065567

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