mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-01-30 16:37:29 +01:00
Created SaveSeriesInfo in Connector
This commit is contained in:
parent
24c58e9e22
commit
9aa822b900
@ -42,6 +42,11 @@ public abstract class Connector
|
||||
ZipFile.CreateFromDirectory(tempFolder, fullPath);
|
||||
}
|
||||
|
||||
public void SaveSeriesInfo(Publication publication)
|
||||
{
|
||||
File.WriteAllText(Path.Join(downloadLocation, publication.folderName, "series.json"),publication.GetSeriesInfo());
|
||||
}
|
||||
|
||||
internal class DownloadClient
|
||||
{
|
||||
private readonly TimeSpan _requestSpeed;
|
||||
|
Loading…
x
Reference in New Issue
Block a user