mirror of
https://github.com/bestnite/bilinovel-downloader.git
synced 2025-10-26 09:11:01 +00:00
refactor: streamline download process and enhance browser handling in Bilinovel
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user