Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Releases: crunchy-labs/crunchy-cli

crunchy-cli v3.0.2

08 Sep 20:46
Compare
Choose a tag to compare
  • Fix wrong relative episode number when using archive with multiple audios (#238)
  • Enable openssl on Windows and Mac
  • Add root --user-agent flag to set a custom user agent
  • Add search output option to get drm encrypted dash and hls urls
  • Show error when no url is given

From now on the size of the pre-built binaries will be segnificantly bigger due to the upgrade from openssl v1.1, which reaches EOL on September 11, to v3.

crunchy-cli v3.0.1

14 Aug 13:22
Compare
Choose a tag to compare
  • Add error handling for Cloudflare bot protection. A proper error message will be printed when a Cloudflare block is detected

crunchy-cli v3.0.0

07 Aug 15:05
Compare
Choose a tag to compare

Version 3.0.0 is here 🥳

This version is a complete rewrite of the cli (and underlying library). Most features/commands are the same as in v2 but some removals, renamings and behavior changes took place nevertheless.
The release notes should cover most changes done but it's still recommended to take a look at the README which features examples for commands and some more detailed information about specific topics.

download command

  • Change default output format from .ts to .mp4. Due to this change, ffmpeg is required for download too (#111)
  • Embed subtitles as soft-sub if output format is .mkv, .mov or .mp4. If you want to burn-in the subtitles nevertheless, use the --force-hardsub flag

archive command

  • Add --default-subtitle flag which sets the default subtitle language which should be shown when playing the video
  • Rename -l/--language flag to -a/--audio
  • Rename --sublang flag to --subtitle
  • Remove -c/--compress flag
  • Remove --no-subtitle-optimizations flag

download and archive commands

  • Add optional ffmpeg optimizations / presets (#78)
  • Add --skip-existing flag. This skips the download of already downloaded files (#109)
  • Add interactive choosing when season number is duplicated (#100). Use the -y/--yes flag to suppress it and download everything
  • Add output which indicates that the output file gets generated
  • Add check for remaining disk space. If the calculated size of files which must be stored exceeds the remaining space on the disk a warning gets printed (#192)
  • Add retry if connection got reset by peer (#144)
  • Add label to subtitle stream (if present as soft-sub) if the subtitle was recognized as CC
  • Add progress spinner as indicator for subtitle downloads
  • Add support for old urls (which are still used in some places like the rss)
  • Downloading of direct episode urls works again (#178)
  • Remove -d/--directory flag. The directory can now be directly specified with the -o/--output command too
  • Remove --temp flag. If you want to specify the temporary directory where files are stored in before they get merged into the final output file, use the CRUNCHY_CLI_TEMP_DIR env variable
  • Remove -g/--goroutines flag. The count of (green) download threads is now fixed set to the count of your cpu cores

login command

  • Add --remove flag to remove the stored login
  • Rename --refresh-token flag to --etp-rt
  • Remove --encrypt flag
  • Remove --persistent flag. Every call to this command stores the session persistent now
  • Remove --session-id flag

search command

This command was newly added. It allows you to search through Crunchyroll, either with a series/episode url or a search term.

The search can be done in two ways:

  • By providing a url, just like you'd do to use download or archive
  • By providing a search term which then gets searched, just like the search bar on the Crunchyroll website

The search command is designed to show only the specific information you want. This is done with the -o/--output flag.
You can specify keywords in a specific pattern and they will get replaced in the output text. The required pattern for this begins with {{, then the keyword, and closes with }} (e.g. {{episode.title}}). For example, if you want to get the title of an episode, you can use Title {{episode.title}} and {{episode.title}} will be replaced with the episode title.

See the output of crunchy-cli search --help for all supported keywords and their meaning.

Other flags

Besides output formatting there are also other flags to filter the output even more.

  • --audio - audio languages to include (can be specified multiple times)
  • --search-top-results-limit - limit of search results to parse
    • --search-series-limit - limit of series to search
    • --search-movie-listing-limit - limit of movies to search
    • --search-episode-limit - limit of episodes to search
    • --search-music-limit - limit of music to search

root command

  • Add --credentials, --etp-rt and --anonymous flag to specify which credentials to use without the need to call login first
  • Add openssl as default tls backend due to Cloudflare issues (#104)
  • Add --experimental-stabilizations flag which can help to resolve issues in some situations (#178)
  • Add error notice if rate limit is detected (#195)
  • Add check for invalid configurations before executing a command
  • Remove info and update commands
  • Remove --useragent flag. In order to bypass the Cloudflare specific user agents are needed, thus setting custom ones makes little sense

Other

  • Change license from GPLv3 to MIT
  • Add aarch64/arm64 linux release binary

Thanks to all contributors which committed to this new major version @bytedream, @adracea, @hannesbraun, @hitorilabs, @stepbrobd, @Serverfrog, @ghost and everyone who made helpful bug reports or feature requests.

Full Changelog: v2.3.6...v3.0.0

crunchy-cli v3.0.0-dev.15

21 Jul 12:39
Compare
Choose a tag to compare
Pre-release
  • Add option to interactively select seasons when season number is duplicated (#199). Use the -y/--yes flag with archive or download to suppress the selection and just download everything
  • Add openssl as optional tls backend (openssl / openssl-static feature). Will be statically included in the binary release and ci builds from now on
  • Add progress spinner as indicator for subtitle downloads
  • Fix incorrect episode detection on newer simulcast titles (#227)
  • Fix usage of --etp-rt after login causing an error
  • Add support for old urls (which are still used in some places like the rss)
  • Add long flag versions to -v (=> --verbose) and -q (=> --quiet)
  • Add --force-hardsub flag to download to force burning in subs into the video even if the container supports softsubs

crunchy-cli v3.0.0-dev.14

19 Jun 23:06
Compare
Choose a tag to compare
Pre-release
  • Add search command (#20, #70, #217). This command can be used to search Crunchyroll series, episodes, etc. and returns some metadata like title, description, stream url, ... . The command isn't as user friendly as the yt-dlp search (e.g. #70 (comment)) but has nearly the same functionality. See #217 for more information how it works.
  • Enable usage of --credentials, --etp-rt and --anonymous after login command
  • Fix audio switching to japanese with archive if no more dubs are available (#207)
  • Fix weird renaming of output file if the generated filename only consists of an (file) extension and already exists
  • Fix subtitle entry sorting (#208)

crunchy-cli v3.0.0-dev.13

25 Apr 09:02
Compare
Choose a tag to compare
Pre-release
  • Fix ffmpeg error when specifying (most) other output formats than .mp4 with download (#198)
  • Embedding subtitles as soft-subs when download output format is .mov
  • Remove --vv flag
  • Update conditions when subtitles are (visually) marked as CC: If the audio language is not japanese and the video has only one subtitle stream assigned to it

crunchy-cli v3.0.0-dev.12

17 Apr 16:40
Compare
Choose a tag to compare
Pre-release
  • Archive all subtitles when using -m audio with archive
  • Fix/remove default value for deprecated -l / --locale flag in archive (#196)
  • Add hint that a subtitle is only CC in the subtitle track title

crunchy-cli v3.0.0-dev.11

13 Apr 20:17
Compare
Choose a tag to compare
Pre-release
  • Fix rate limiting cms error cms_service_error (#195)
  • Deprecated archive -l/--locale flag, use the newly added -a/--audio flag instead
  • Add root --proxy flag to specify a proxy to route all traffic through (#193)
  • Print notice if rate limit is detected (even though it shouldn't happen anymore) (#195)
  • Add retry if connection got reset by peer (#144)
  • Add check for remaining disk space. If the calculated size of files which must be stored exceeds the remaining space on the disk a warning gets printed (#192)
  • Actually remove session/login file if request via the --remove flag on login

crunchy-cli v3.0.0-dev.9

09 Apr 09:50
Compare
Choose a tag to compare
Pre-release
  • Archiving using direct episode url works now (#178)
  • Add --skip-existing flag to skip existing files (#109)
  • Downloading using direct episode urls works again (#178)
  • Rework --ffmpeg-preset command (#121)
  • Reduce time before the first download starts (#189)
  • Fix cms_service_error (#189) Fix cms_service_error partially, it still occurs (#180)
  • Add --experimental-stabilizations flag which can help to resolve issues in some situations (#178)
  • The ordering of the video and audio streams in the archive generated output file depends on the input ordering of -l now (#178)
  • Manually burn-in subtitles when using download (#111)
    • This now requires ffmpeg for download too
    • Default file extension got changed from .ts to .mp4
  • (Re-)add -l all/-s all to select all available locales (#116)
  • Remove -y/--yes flag as it seems that there aren't any messed up seasons anymore (#178)
  • Use more performant av1 encoder (#121)
  • Create missing directories when using login (#149)

Full Changelog: v3.0.0-dev.8...v3.0.0-dev.9

crunchy-cli v3.0.0-dev.10

09 Apr 18:49
Compare
Choose a tag to compare
Pre-release
  • Fix a bug where the cli would exit with an error if the series or episode which should be downloaded is only available with japanese audio
  • Add CRUNCHY_CLI_TEMP_DIR environment variable to set the temporary directory location (#191).