From 7c281e243dede0c07a7d4abc8aa98c75111c5bc8 Mon Sep 17 00:00:00 2001 From: AnimeDL Date: Sat, 27 Sep 2025 10:10:16 -0700 Subject: [PATCH] [CR]: Hotfix new 10+ char IDs --- crunchy.ts | 10 +++++----- package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/crunchy.ts b/crunchy.ts index 5ff4abf..d394415 100644 --- a/crunchy.ts +++ b/crunchy.ts @@ -119,7 +119,7 @@ export default class Crunchy implements ServiceClass { await this.refreshToken(); await this.doSearch({ ...argv, search: argv.search as string }); } - else if(argv.series && argv.series.match(/^[0-9A-Z]{9}$/)){ + else if(argv.series && argv.series.match(/^[0-9A-Z]{9,}$/)){ await this.refreshToken(); await this.logSeriesById(argv.series as string); const selected = await this.downloadFromSeriesID(argv.series, { ...argv }); @@ -133,15 +133,15 @@ export default class Crunchy implements ServiceClass { } return true; } - else if(argv['movie-listing'] && argv['movie-listing'].match(/^[0-9A-Z]{9}$/)){ + else if(argv['movie-listing'] && argv['movie-listing'].match(/^[0-9A-Z]{9,}$/)){ await this.refreshToken(); await this.logMovieListingById(argv['movie-listing'] as string); } - else if(argv['show-raw'] && argv['show-raw'].match(/^[0-9A-Z]{9}$/)){ + else if(argv['show-raw'] && argv['show-raw'].match(/^[0-9A-Z]{9,}$/)){ await this.refreshToken(); await this.logShowRawById(argv['show-raw'] as string); } - else if(argv['season-raw'] && argv['season-raw'].match(/^[0-9A-Z]{9}$/)){ + else if(argv['season-raw'] && argv['season-raw'].match(/^[0-9A-Z]{9,}$/)){ await this.refreshToken(); await this.logSeasonRawById(argv['season-raw'] as string); } @@ -149,7 +149,7 @@ export default class Crunchy implements ServiceClass { await this.refreshToken(); await this.logShowListRaw(); } - else if(argv.s && argv.s.match(/^[0-9A-Z]{9}$/)){ + else if(argv.s && argv.s.match(/^[0-9A-Z]{9,}$/)){ await this.refreshToken(); if (argv.dubLang.length > 1) { console.info('One show can only be downloaded with one dub. Use --srz instead.'); diff --git a/package.json b/package.json index d3b7ba8..c07abaa 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "multi-downloader-nx", "short_name": "aniDL", - "version": "5.5.6", + "version": "5.5.7", "description": "Downloader for Crunchyroll, Hidive, AnimeOnegai, and AnimationDigitalNetwork with CLI and GUI", "keywords": [ "download",