MCPcopy Index your code
hub / github.com/CuteTenshii/crunchyroll-downloader

github.com/CuteTenshii/crunchyroll-downloader @1.1.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.1.1 ↗ · + Follow
35 symbols 86 edges 10 files 4 documented · 11% updated 36d ago1.1.1 · 2026-01-12★ 1067 open issues

Browse by type

Functions 23 Types & classes 12
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Crunchyroll Downloader

Downloads anime from Crunchyroll and outputs them in a MKV file.

You won't be banned or anything, I downloaded all Kaguya-Sama seasons to test during 30 mins and everything went fine

Features

  • Supports choosing the audio and subtitles language
  • Supports choosing the audio and video quality
  • Decrypts Widevine DRM (requires: a .wvd file or client_id.bin and private_key.pem files)
  • Adds metadata (like episode name) to the MKV container

Requirements

  • FFmpeg
  • To download Premium-only content, a Crunchyroll Premium account. No, this can't be bypassed and a free trial should be enough
  • Either a .wvd file, or a client_id.bin and private_key.pem

Download

Check the latest release and download the file that corresponds to your OS.

Usage

  • Open a Terminal/Command prompt, and go to the folder where you downloaded the binary/cloned the repo
  • Run the program with the options you want:
Usage of ./crunchyroll-downloader:
  -audio-lang string
        Audio language (default "ja-JP")
  -audio-quality string
        Audio quality (default "192k")
  -etp-rt string
        The "etp_rt" cookie value of your account
  -season int
        Season number. Not used if an episode link is entered
  -subs-lang string
        Subtitles language (default "en-US")
  -url string
        URL of the episode/season to download
  -video-quality string
        Video quality (default "1080p")

Ex: to download the first season of Hell's Paradise:

./crunchyroll-downloader --url https://www.crunchyroll.com/series/GJ0H7Q5ZJ/hells-paradise --season 1 --etp-rt replace_this

To download a specific episode:

./crunchyroll-downloader --url https://www.crunchyroll.com/watch/GE00198973JAJP/dawn-and-confusion --etp-rt replace_this

Building

Requirements

Guide

  • Clone this repository
  • Open a Terminal/Command prompt, and go to the folder where you cloned the repo
  • Run go build .

Help

How do I get my etp_rt cookie?

  • Go to https://crunchyroll.com
  • Open Developer Tools
  • Firefox: Go to Storage then Cookies

Chrome: Go to Application then Cookies - Select the Crunchyroll domain, then copy the etp_rt cookie value

What is a .wvd file and do I really need one?

Yes, Crunchyroll uses DRM-only content. This file is used to get a Widevine license, which gives the keys to decrypt the media.

If you don't have a rooted Android device or are just lazy, search "ready to use cdms" and you'll find plenty of websites providing those files.

Core symbols most depended-on inside this repo

Shape

Function 23
Struct 12

Languages

Go100%

Modules by API surface

episode.go9 symbols
download.go7 symbols
season.go6 symbols
drm.go5 symbols
mpd.go3 symbols
token.go2 symbols
output.go1 symbols
main.go1 symbols
http_request.go1 symbols

For agents

$ claude mcp add crunchyroll-downloader \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page