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.

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.3.tar.gz (11.8 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.3-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for yt_jsc_youtubei-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c4425a62b037d672803c5ca0a8bf5790f67e6eee13a8f911d9a7c278ac618090
MD5 a28cc8050de6566a5da10d4bb05dc35e
BLAKE2b-256 816ddd7a5e4b91d491b5e78e2554334383391d8d38131412e62e5fa7897c29e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yt_jsc_youtubei-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 17bded0380c9f70f616adf3b52aa3f74380440a0ced554ac74aada552c503a5d
MD5 807f19a36559393018a3d777f3813832
BLAKE2b-256 9c86f3b24cd725c15835a1f864472196f4c97b2c2bf09df18658814c58820607

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