When downloading new Chapters, download cover and series info.

This commit is contained in:
glax 2023-05-19 16:24:05 +02:00
parent afe36ab2ef
commit e3aab83dfb

View File

@ -30,6 +30,8 @@ public static class TaskExecutor
List<Chapter> newChapters = UpdateChapters(connector, publication, language, chapterCollection);
foreach(Chapter newChapter in newChapters)
connector.DownloadChapter(publication, newChapter);
connector.DownloadCover(publication);
connector.SaveSeriesInfo(publication);
}
private static List<Chapter> UpdateChapters(Connector connector, Publication publication, string language, Dictionary<Publication, List<Chapter>> chapterCollection)