Skip to content

Commit

Permalink
Fixed #189
Browse files Browse the repository at this point in the history
  • Loading branch information
izu-co committed Dec 19, 2021
1 parent 476b49c commit 7f03bd2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion crunchy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ async function downloadMediaList(medias: CrunchyEpMeta) : Promise<{

variables.push(...([
['title', medias.episodeTitle],
['episode', medias.episodeNumber],
['episode', isNaN(parseInt(medias.episodeNumber)) ? medias.episodeNumber : parseInt(medias.episodeNumber)],
['service', 'CR'],
['showTitle', medias.seasonTitle],
['season', medias.season]
Expand Down
2 changes: 1 addition & 1 deletion funi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ async function downloadStreams(epsiode: FunimationMediaDownload){
console.log('[INFO] Stream URL:',videoUrl);

fnOutput = parseFileName(argv.fileName, ([
['episode', fnEpNum],
['episode', isNaN(parseInt(fnEpNum as string)) ? fnEpNum : parseInt(fnEpNum as string)],
['title', epsiode.title],
['showTitle', epsiode.showTitle],
['season', season],
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "multi-downloader-nx",
"short_name": "aniDL",
"version": "2.0.9",
"version": "2.0.10",
"description": "Download videos from Funimation or Crunchyroll via cli",
"keywords": [
"download",
Expand Down

0 comments on commit 7f03bd2

Please sign in to comment.