Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaiduFanyiResponse ¶
type FaceFusionRequest ¶
type FaceFusionResponse ¶
type SpiderBaiduFanyi ¶
type SpiderBaiduFanyi struct { ApiKey string `json:"api_key"` SecretKey string `json:"secret_key"` }
SpiderBaiduFanyi 基于百度的翻译爬虫
func NewBaiduFanyiSpider ¶
func NewBaiduFanyiSpider() *SpiderBaiduFanyi
func (*SpiderBaiduFanyi) GetAccessToken ¶
func (s *SpiderBaiduFanyi) GetAccessToken() string
func (*SpiderBaiduFanyi) ToFace ¶
func (s *SpiderBaiduFanyi) ToFace(imageTemplatePath, imageTargetPath io.Reader) (ff FaceFusionResponse, err error)
Click to show internal directories.
Click to hide internal directories.