Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBookLiveUnknownCid = errors.New("CID format not <title_id>_<volume>.") ErrBookLiveUnknownUrl = errors.New("URL could not be parsed.") ErrBookLiveFailedLogin = errors.New("Failed to login. Wrong credentials?") ErrBookLiveLoginScreen = errors.New("Error while getting login token.") )
View Source
var Plugin = BookLive{ []plugins.Option{ &plugins.StringOption{K: "Username", Required: true}, &plugins.StringOption{K: "Password", Required: true}, &plugins.BoolOption{K: "Lossless", V: false, C: "If set to true, save as PNG. Original images are in JPEG, so you can't escape some artifacts even with this on."}, &plugins.IntOption{K: "JPEGQuality", V: 95, C: "Does nothing if Lossless is on. >95 not adviced, as it increases file size a ton with little improvement."}, &plugins.BoolOption{K: "Metadata", V: true}, }, }
Functions ¶
This section is empty.
Types ¶
type BookLive ¶
type BookLive struct {
// contains filtered or unexported fields
}
func (*BookLive) DownloadGenerator ¶
func (bl *BookLive) DownloadGenerator(url string) (dlgen func() plugins.Downloader, length int)
Click to show internal directories.
Click to hide internal directories.