Added Series Info Capability

This commit is contained in:
2023-05-18 20:26:47 +02:00
parent a54b5e9e1f
commit e8f25ca9d0
2 changed files with 38 additions and 3 deletions

View File

@ -29,9 +29,12 @@ public static class Tranga_Cli
Chapter[] allChapteres = connector.GetChapters(selectedPub, "en");
Chapter[] downloadChapters = SelectChapters(allChapteres);
if(downloadChapters.Length > 0)
if (downloadChapters.Length > 0)
{
connector.DownloadCover(selectedPub);
File.WriteAllText(Path.Join(folderPath, selectedPub.folderName, "series.json"),selectedPub.GetSeriesInfo());
}
foreach (Chapter chapter in downloadChapters)
{