Documentation ¶
Index ¶
Constants ¶
View Source
const CacheDir = "data/pixiv/"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Illust ¶
type Illust struct { Pid int64 `db:"pid"` Title string `db:"title"` Caption string `db:"caption"` Tags string `db:"tags"` ImageUrls []string `db:"image_urls"` AgeLimit string `db:"age_limit"` CreatedTime string `db:"created_time"` UserId int64 `db:"user_id"` UserName string `db:"user_name"` }
插画结构体
func (*Illust) DownloadToCache ¶
DownloadToCache 多线程下载第 page 页到 i.Path(page), 返回 error
type RankValue ¶
type RankValue struct { /* required, possible rank modes: - daily (default) - weekly - monthly - rookie - original - male - female - daily_r18 - weekly_r18 - male_r18 - female_r18 - r18g */ Mode string /* optional, possible rank type: - all (default) - illust - ugoira - manga */ Type string Page int Date string }
搜索元素
Click to show internal directories.
Click to hide internal directories.