ebook

package
v1.7.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsycChapter

func AsycChapter(ResultChan chan chan edl.Chapter, chapter chan edl.Chapter)

AsycChapter 同步下载章节的content内容

func TestContainVolume

func TestContainVolume(src string) bool

TestContainVolume 检测是 第一个 dt标签是否包含 “正文卷”,如果不包含就表示是分卷

Types

type BiDuo

type BiDuo struct {
	URL  string
	Lock *sync.Mutex
}

BiDuo www.biduo.cc小说网

func NewBiDuo

func NewBiDuo() BiDuo

NewBiDuo 初始化

func (BiDuo) DownloadChapters

func (this BiDuo) DownloadChapters(Bi edl.BookInfo, proxy string) edl.BookInfo

DownloadChapters 下载所有章节

func (BiDuo) DownloaderChapter

func (this BiDuo) DownloaderChapter(ResultChan chan chan edl.Chapter, pc edl.ProxyChapter, wg *sync.WaitGroup)

DownloaderChapter 一个章节一个章节得下载

func (BiDuo) GetBookBriefInfo

func (this BiDuo) GetBookBriefInfo(bookid string, proxy string) edl.BookInfo

GetBookBriefInfo 获取小说的信息

func (BiDuo) GetBookInfo

func (this BiDuo) GetBookInfo(bookid string, proxy string) edl.BookInfo

GetBookInfo 获取小说的信息

type Biquwu added in v1.7.5

type Biquwu struct {
	URL  string
	Lock *sync.Mutex
}

Biquwu www.biquwu.cc 小说网

func NewBiquwu added in v1.7.5

func NewBiquwu() Biquwu

NewBiquwu 初始化

func (Biquwu) DownloadChapters added in v1.7.5

func (this Biquwu) DownloadChapters(Bi edl.BookInfo, proxy string) edl.BookInfo

DownloadChapters 下载所有章节

func (Biquwu) DownloaderChapter added in v1.7.5

func (this Biquwu) DownloaderChapter(ResultChan chan chan edl.Chapter, pc edl.ProxyChapter, wg *sync.WaitGroup)

DownloaderChapter 一个章节一个章节得下载

func (Biquwu) GetBookBriefInfo added in v1.7.5

func (this Biquwu) GetBookBriefInfo(bookid string, proxy string) edl.BookInfo

GetBookBriefInfo 获取小说的信息

func (Biquwu) GetBookInfo added in v1.7.5

func (this Biquwu) GetBookInfo(bookid string, proxy string) edl.BookInfo

GetBookInfo 获取小说的信息

type BookTXT

type BookTXT struct {
	URL  string
	Lock *sync.Mutex
}

BookTXT 顶点小说网 www.booktxt.net

func NewBookTXT

func NewBookTXT() BookTXT

NewBookTXT 初始化

func (BookTXT) DownloadChapters

func (this BookTXT) DownloadChapters(Bi edl.BookInfo, proxy string) edl.BookInfo

DownloadChapters 下载小说章节

func (BookTXT) DownloaderChapter

func (this BookTXT) DownloaderChapter(ResultChan chan chan edl.Chapter, pc edl.ProxyChapter, wg *sync.WaitGroup)

DownloaderChapter 下载小说章节

func (BookTXT) GetBookBriefInfo

func (this BookTXT) GetBookBriefInfo(bookid string, proxy string) edl.BookInfo

GetBookBriefInfo 获取小说的信息

func (BookTXT) GetBookInfo

func (this BookTXT) GetBookInfo(bookid string, proxy string) edl.BookInfo

GetBookInfo 下载小说信息

type US23

type US23 struct {
	URL  string
	Lock *sync.Mutex
}

US23 顶点小说网 23us.la

func New23US

func New23US() US23

New23US 初始化

func (US23) DownloadChapters

func (this US23) DownloadChapters(Bi edl.BookInfo, proxy string) edl.BookInfo

DownloadChapters 下载小说章节

func (US23) DownloaderChapter

func (this US23) DownloaderChapter(ResultChan chan chan edl.Chapter, pc edl.ProxyChapter, wg *sync.WaitGroup)

DownloaderChapter 下载小说章节

func (US23) GetBookBriefInfo

func (this US23) GetBookBriefInfo(bookid string, proxy string) edl.BookInfo

GetBookBriefInfo 获取小说的信息

func (US23) GetBookInfo

func (this US23) GetBookInfo(bookid string, proxy string) edl.BookInfo

GetBookInfo 下载小说信息

type XS999

type XS999 struct {
	URL  string
	Lock *sync.Mutex
}

999小说网 999xs.com

func New999XS

func New999XS() XS999

func (XS999) DownloadChapters

func (this XS999) DownloadChapters(Bi edl.BookInfo, proxy string) edl.BookInfo

func (XS999) DownloaderChapter

func (this XS999) DownloaderChapter(ResultChan chan chan edl.Chapter, pc edl.ProxyChapter, wg *sync.WaitGroup)

DownloaderChapter 下载小说

func (XS999) GetBookBriefInfo

func (this XS999) GetBookBriefInfo(bookid string, proxy string) edl.BookInfo

GetBookBriefInfo 获取小说的信息

func (XS999) GetBookInfo

func (this XS999) GetBookInfo(bookid string, proxy string) edl.BookInfo

type XSBiquge

type XSBiquge struct {
	URL  string
	Lock *sync.Mutex
}

XSBiquge xsbiquge.com小说网

func NewXSBiquge

func NewXSBiquge() XSBiquge

NewXSBiquge 初始化

func (XSBiquge) DownloadChapters

func (this XSBiquge) DownloadChapters(Bi edl.BookInfo, proxy string) edl.BookInfo

DownloadChapters 下载所有章节

func (XSBiquge) DownloaderChapter

func (this XSBiquge) DownloaderChapter(ResultChan chan chan edl.Chapter, pc edl.ProxyChapter, wg *sync.WaitGroup)

DownloaderChapter 一个章节一个章节得下载

func (XSBiquge) GetBookBriefInfo

func (this XSBiquge) GetBookBriefInfo(bookid string, proxy string) edl.BookInfo

GetBookBriefInfo 获取小说的信息

func (XSBiquge) GetBookInfo

func (this XSBiquge) GetBookInfo(bookid string, proxy string) edl.BookInfo

GetBookInfo 获取小说的信息

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL