Created SaveSeriesInfo in Connector

This commit is contained in:
glax 2023-05-19 16:19:10 +02:00
parent 24c58e9e22
commit 9aa822b900

View File

@ -42,6 +42,11 @@ public abstract class Connector
ZipFile.CreateFromDirectory(tempFolder, fullPath); ZipFile.CreateFromDirectory(tempFolder, fullPath);
} }
public void SaveSeriesInfo(Publication publication)
{
File.WriteAllText(Path.Join(downloadLocation, publication.folderName, "series.json"),publication.GetSeriesInfo());
}
internal class DownloadClient internal class DownloadClient
{ {
private readonly TimeSpan _requestSpeed; private readonly TimeSpan _requestSpeed;