yt-dlp-ejs
External JavaScript for yt-dlp supporting many runtimes
What it is and what it does
yt-dlp-ejs extends yt-dlp with external JavaScript execution capabilities. It acts as a bridge allowing JavaScript code to run for video extraction from sites using JavaScript-based protection or obfuscation. The package supports multiple JavaScript runtimes—Deno, Bun, and Node.js—so users can choose whichever is available on their system.
The package is distributed as a pure Python wheel with bundled JavaScript components (meriyah and astring). Installation is straightforward and requires no additional Python dependencies at runtime. It supports Python 3.10 through 3.14 and is actively maintained with recent updates.
Use it for:
- Extracting videos from sites using JavaScript-based player obfuscation or signature algorithms.
- Running extraction on systems where flexibility in JavaScript runtime choice is needed.
- Automating video downloads where JavaScript code execution is required for authentication or decryption.
- Development and testing of extraction workflows that depend on JavaScript support.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides external JavaScript execution support for yt-dlp, enabling JavaScript code to run across multiple runtime environments for video extraction.
Yes. If you use yt-dlp and encounter sites requiring JavaScript execution for video extraction, this plugin is a straightforward addition with low install friction, active maintenance, permissive licensing, and no known vulnerabilities.
Install
yt-dlp-ejs on PyPI
pip
pip install yt-dlp-ejsuv
uv add yt-dlp-ejspoetry
poetry add yt-dlp-ejsInstalling yt-dlp-ejs
Before you install
Low friction installation as a pure Python wheel with no runtime dependencies. Active maintenance with recent commits and stable production status.
License in practice
Licensed under Unlicense with bundled components under ISC and MIT licenses. All three are permissive and compatible with commercial and open-source use.
Quickstart
pip install -U yt-dlp-ejs
# The package integrates as an external JavaScript provider for yt-dlp
# No additional import or configuration needed beyond standard yt-dlp usage
At least one of Deno, Bun, or Node.js must be available on the system for JavaScript execution.
Verify before relying
- Whether the package automatically detects and uses an available JS runtime or requires explicit configuration.
- Performance characteristics when using different runtimes (Deno vs. Bun vs. Node).
- Specific yt-dlp version compatibility range (minimum/maximum versions supported).
- How the package integrates with yt-dlp after installation.
Package facts
| License | Unlicense AND MIT AND ISC (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 150 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,540,822/month — #3,012 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: yt_dlp_ejs-0.8.0-py3-none-any.whl
Keywords: yt-dlp
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
yt-dlpyt-dlp downloads audio and video from thousands…
permissive · top 5,000 on PyPI
bgutil-ytdlp-pot-providerA yt-dlp plugin that provides proof-of-origin…
copyleft · top 15,000 on PyPI
Js2Py-3.13Js2Py translates and executes JavaScript code…
permissive · top 15,000 on PyPI
Js2PyJs2Py translates and executes JavaScript code…
permissive · top 5,000 on PyPI
types-yt-dlpProvides type hints for yt-dlp, enabling static…
permissive · top 15,000 on PyPI
pytubefixDownloads YouTube videos, playlists, and…
permissive · top 15,000 on PyPI
quickjsWraps the QuickJS C library to execute…
unclear · top 5,000 on PyPI
langchain-quickjsAdds a persistent, sandboxed JavaScript REPL…
permissive · top 15,000 on PyPI
youtube_dlCommand-line tool to download videos from…
permissive · top 15,000 on PyPI