refactor: streamline download process and enhance browser handling in Bilinovel

This commit is contained in:
2025-08-24 19:04:00 +10:00
parent ed5440f5fb
commit 560cdfdec9
5 changed files with 137 additions and 163 deletions

View File

@@ -7,9 +7,10 @@ type ExtraFile struct {
}
type Downloader interface {
GetNovel(novelId int) (*Novel, error)
GetVolume(novelId int, volumeId int) (*Volume, error)
GetNovel(novelId int, skipChapter bool) (*Novel, error)
GetVolume(novelId int, volumeId int, skipChapter bool) (*Volume, error)
GetChapter(novelId int, volumeId int, chapterId int) (*Chapter, error)
GetStyleCSS() string
GetExtraFiles() []ExtraFile
Close() error
}