2
0

MangaDex only download single release for chapter.

Fix #219
This commit is contained in:
Glax 2024-09-07 20:16:05 +02:00
parent e8dbf7a718
commit 2be29e4019

View File

@ -243,7 +243,7 @@ public class MangaDex : MangaConnector
continue;
}
if(chapterNum is not "null")
if(chapterNum is not "null" && !chapters.Any(chp => chp.volumeNumber.Equals(volume) && chp.chapterNumber.Equals(chapterNum)))
chapters.Add(new Chapter(manga, title, volume, chapterNum, chapterId));
}
}