Skip to main content

External JavaScript for yt-dlp supporting many runtimes

Project description

yt-dlp-ejs

[!CAUTION] This is currently in development

External JavaScript for yt-dlp supporting many runtimes

Manual Installation

In the yt-dlp repository, install the python package, either directly or from url:

pip install git+https://github.com/yt-dlp/ejs@main

Development

While this project does pin its dependencies, it does not use lockfiles or enforce a particular package manager. You may install dependencies using any compatible package manager. If you notice differences between different runtimes builds please open an issue here.

Build

To build the Python package you need a PEP518 compatible builder. The build hook will automatically invoke deno, bun or node as required.

Alternatively, to only build the JavaScript files you can run the bundle script manually.

Tests

First, to download the player files, run src/yt/solver/test/download.ts.

After running that once, use any of deno test, bun test or node --test.

Licensing

This code is licensed under Unlicense.

An exception to this are the prebuilt wheels, which contain both meriyah and astring, licensed under ISC and MIT, respectively.

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_dlp_ejs-0.1.0.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

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

yt_dlp_ejs-0.1.0-py3-none-any.whl (52.9 kB view details)

Uploaded Python 3

File details

Details for the file yt_dlp_ejs-0.1.0.tar.gz.

File metadata

  • Download URL: yt_dlp_ejs-0.1.0.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for yt_dlp_ejs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b34743ae5522c5e0397b7541dfa7dff7e03b905315891b8445b9eb20de7da51a
MD5 502efab9894f29d43d9dd6c707851957
BLAKE2b-256 570cc84d30b09124eefde98f2a008ac6847a4e352339d47d1593eaf1559e027b

See more details on using hashes here.

Provenance

The following attestation bundles were made for yt_dlp_ejs-0.1.0.tar.gz:

Publisher: release.yml on yt-dlp/ejs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file yt_dlp_ejs-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: yt_dlp_ejs-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 52.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for yt_dlp_ejs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 397103f7f00685e6397a339884a62209163e79dc8a6cc7142613931d5c4f5236
MD5 23a663447898f2d68bfc5ea96a0a2073
BLAKE2b-256 7f6bccd78f35ea354e7c80c1c6cae0c73e61ef68f3be7d8fc204cd8ce1856686

See more details on using hashes here.

Provenance

The following attestation bundles were made for yt_dlp_ejs-0.1.0-py3-none-any.whl:

Publisher: release.yml on yt-dlp/ejs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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