When downloading new Chapters, download cover and series info.
This commit is contained in:
parent
afe36ab2ef
commit
e3aab83dfb
@ -30,6 +30,8 @@ public static class TaskExecutor
|
|||||||
List<Chapter> newChapters = UpdateChapters(connector, publication, language, chapterCollection);
|
List<Chapter> newChapters = UpdateChapters(connector, publication, language, chapterCollection);
|
||||||
foreach(Chapter newChapter in newChapters)
|
foreach(Chapter newChapter in newChapters)
|
||||||
connector.DownloadChapter(publication, newChapter);
|
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)
|
private static List<Chapter> UpdateChapters(Connector connector, Publication publication, string language, Dictionary<Publication, List<Chapter>> chapterCollection)
|
||||||
|
Loading…
Reference in New Issue
Block a user