Add Publication to DownloadChapter Method, to later correctly save images.

This commit is contained in:
glax
2023-05-18 16:21:02 +02:00
parent 140aac8f87
commit 317d1435f3
3 changed files with 9 additions and 4 deletions

View File

@ -7,7 +7,12 @@ public abstract class Connector
public abstract string name { get; }
public abstract Publication[] GetPublications();
public abstract Chapter[] GetChapters(Publication publication);
public abstract void DownloadChapter(Chapter chapter); //where to?
public abstract void DownloadChapter(Publication publication, Chapter chapter); //where to?
internal void DownloadChapter(string url)
{
}
internal class DownloadClient
{