This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
CrunchyDL/README.md
2024-06-21 01:18:43 +02:00

4.1 KiB

Crunchyroll Downloader

Downloads GitHub Repo stars Discord

Windows Linux

Important: At the moment its only possible to download with L3 Widevine keys since Crunchyroll added drm to the switch endpoint

Guides to get L3 Widevine keys:

https://forum.videohelp.com/threads/408031-Dumping-Your-own-L3-CDM-with-Android-Studio

https://simpcity.su/threads/guide-for-getting-drm-content-wip.181199/

Add the keys you get here:

Screenshot 2024-06-19 131046

A simple tool for downloading videos from Crunchyroll and ADN.

animation_gif


Supported Platforms

  • Windows
  • Linux

Getting Started on Windows

Step 1: Download the latest windows installer here.

Step 2: Run the installer. The app starts automatically after install and creates a desktop shortcut.

Thats it! Now you can start download!

Getting Started on Linux

Step 1: Download one of the latest linux builds here.

Step 2 for .AppImage: Just run it, the downloader will appear!

Step 2 for .deb: Run the .deb file with your package manager and install it!

Thats it! Now you can start download!

Build instructions

Requires:

1. NodeJS v19 or newer
2. FFMPEG Binaries (for your os)
3. MP4Decrypt Binaries (for your os)
  1. Clone the repo: git clone https://github.com/stratuma/Crunchyroll-Downloader-v4.0.git

  2. Use PNPM to install the packages pnpm i

  3. Go to node_modules and search for the folder jsencrypt, open the jsencrypt.js file located in bin and replace this:

(function webpackUniversalModuleDefinition(root, factory) {
    if(typeof exports === 'object' && typeof module === 'object')
        module.exports = factory();
    else if(typeof define === 'function' && define.amd)
        define([], factory);
    else if(typeof exports === 'object')
        exports["JSEncrypt"] = factory();
    else
        root["JSEncrypt"] = factory();
})(window, () => {

with this:

(function (root, factory) {
  if (typeof exports === 'object' && typeof module === 'object')
      module.exports = factory();
  else if (typeof define === 'function' && define.amd)
      define([], factory);
  else if (typeof exports === 'object')
      exports["JSEncrypt"] = factory();
  else
      root["JSEncrypt"] = factory();
})(typeof self !== 'undefined' ? self : this, () => {
  1. Put the ffmpeg binaries in the ffmpeg folder and the mp4decrypt binaries in the mp4decrypt folder.

  2. To run dev run pnpm dev:electron when on linux or mac, for windows use pnpm dev:electron:win

  3. To build use the command pnpm build:electron

Note: To change the platform you want to build (Windows, Linux, MacOS) you have to change the const in build.js const platform = 'WINDOWS' on line 70