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
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.1.tar.gz (4.4 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.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yt_jsc_youtubei-0.0.1.tar.gz
  • Upload date:
  • Size: 4.4 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.1.tar.gz
Algorithm Hash digest
SHA256 2d4ea7bc51a72483ccd6cdce721542d9f5bbbe5b3f0d8a4a21e81520429e10aa
MD5 c5dd392e19ec63d7faf622a7d18e7ac2
BLAKE2b-256 2153db001ed5ceed0ff5c6706f8993410bc1e65940cd0a753d537765d27aeb5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yt_jsc_youtubei-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 428f1137eb248622b454ee58db3dedeac06c41fa95db2bf5786a653e7d377d96
MD5 43aee78b1b7c8a17d5a7449c3ad3faec
BLAKE2b-256 f435aad27dfe075bbd72ec59139298153fc4f3d34fb84355e555eb4e4bb2b9c1

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