mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-03-11 17:45:30 +00:00
[CR]: Hotfix new 10+ char IDs
This commit is contained in:
parent
c94268ef6a
commit
7c281e243d
2 changed files with 6 additions and 6 deletions
10
crunchy.ts
10
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.');
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue