Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientWithPorxy ¶
NewClientWithProxy return the http client instance with a proxy server. 返回包含代理的 http client
Types ¶
type PixivTask ¶
type PixivTask struct { Client *http.Client Cookie string Proxy string R18Enabled bool Numbers int // numbers of images to download. }
PixivTask is use to store the task information. 用于记录任务的部分参数
func (*PixivTask) DownloadImage ¶
DownloadImage create the image files and download from pixiv by URL. 下载指定URL的单张图片到img文件夹
func (*PixivTask) ImageURL ¶
ImageURL return the original URL of the image which find by illust_id. 通过插画ID获取插画图片的原图下载地址
func (*PixivTask) RankIDList ¶
RankIDList return the list of all illust_id which in daily rank. 获取当日的插画排行榜列表
Click to show internal directories.
Click to hide internal directories.