Skip to main content

Official repository: https://github.com/coletdjnz/yt-dlp-remote-cipher

yt-dlp-remote-cipher

A yt-dlp plugin to solve YouTube JS challenges remotely using a yt-cipher server.

Install

Requires yt-dlp 2025.XX.XX or above.

If yt-dlp is installed through pip or pipx, you can install the plugin with the following:

pip/pipx

pipx inject yt-dlp yt-dlp-remote-cipher

or

python3 -m pip install -U yt-dlp-remote-cipher

Manual install

  1. Download the latest release zip from releases

  2. Add the zip to one of the yt-dlp plugin locations

    • User Plugins

      • ${XDG_CONFIG_HOME}/yt-dlp/plugins (recommended on Linux/macOS)
      • ~/.yt-dlp/plugins/
      • ${APPDATA}/yt-dlp/plugins/ (recommended on Windows)
    • System Plugins

      • /etc/yt-dlp/plugins/
      • /etc/yt-dlp-plugins/
    • Executable location

      • Binary: where <root-dir>/yt-dlp.exe, <root-dir>/yt-dlp-plugins/

If installed correctly, you should see the remotecipher JS Challenge provider in yt-dlp -v YOUTUBE_URL output:

[debug] [youtube] [jsc] JS Challenge Providers: remotecipher-X.Y.Z (external)

Configure

[!TIP] You can pass multiple options by separating them with semicolons (;).

e.g --extractor-args "youtubejsc-remotecipher:base_url=...;api_key=..."

Server URL

You will need to point yt-dlp to an available yt-cipher server. You can follow the instructions at the yt-cipher repository to set up your own server.

To point yt-dlp to the server, set the base_url extractor argument:

--extractor-args "youtubejsc-remotecipher:base_url=https://ytcipher.example.com"

By default, http://127.0.0.1:8001 is used as the server base URL.

API Key

Configure yt-dlp to use an API key if the server requires it:

--extractor-args "youtubejsc-remotecipher:api_key=YOUR_API

Alternatively you can set the REMOTE_CIPHER_API_KEY environment variable.

Other options

  • timeout: Set the request timeout in seconds (default follow --socket-timeout (20s))

    --extractor-args "youtubejsc-remotecipher:timeout=15"

Development

  1. Install hatch
    pip install hatch
    
  2. Run setup
    hatch run setup
    
  3. Lint and format
    hatch fmt
    
  4. Build
    hatch build
    

Metadata

Release files for yt-dlp-remote-cipher 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yt-dlp-remote-cipher 0.0.1
File Size Uploaded Provenance Actions
yt_dlp_remote_cipher-0.0.1.tar.gz 7.7 kB With provenance Details for yt_dlp_remote_cipher-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yt-dlp-remote-cipher 0.0.1
File Interpreter ABI Platform Actions
yt_dlp_remote_cipher-0.0.1-py3-none-any.whl Python 3 none any Details for yt_dlp_remote_cipher-0.0.1-py3-none-any.whl

Total release size: 13.4 kB

Release files / yt_dlp_remote_cipher-0.0.1.tar.gz

Download URL yt_dlp_remote_cipher-0.0.1.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5c10176fa882ef1cfbac4426f285c1c77e8ad4da281325855aee28510ec20b6b
BLAKE2b-256 checksum
How to use checksums
2417088ca907be92c6c1b6373d2a2c2b08b162cd859ccca3cf4fe413db8f35eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2025.

Transparency log

Release files / yt_dlp_remote_cipher-0.0.1-py3-none-any.whl

Download URL yt_dlp_remote_cipher-0.0.1-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e819c315a0aa0efff7912f2ce7d0530a70bbcd0c941b1bd9748fd2785ab2dd0
BLAKE2b-256 checksum
How to use checksums
e8ef3b597a240ccb5fb51aace19091e72dafc93c4ee47f9cc15e0304b14b957e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2025.

Transparency log

Security for yt-dlp-remote-cipher 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for yt_dlp_remote_cipher-0.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page