Documentation ¶
Index ¶
- Constants
- type AnalysisResponse
- type AnalysisResult
- type Client
- func (c *Client) Analysis(ctx context.Context, content string) *AnalysisResult
- func (c *Client) ConfigZapClientFun(apiZapLogFun golog.ApiZapLogFun)
- func (c *Client) ExtractImageLink(content string) []string
- func (c *Client) ExtractVideoLink(content string) string
- func (c *Client) GetVideoHtml(url string, cookieStr string) (string, error)
- func (c *Client) GetVideoLink(url string) Response
- type ClientConfig
- type Response
Constants ¶
View Source
const (
LogTable = "kuaishou"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalysisResponse ¶
type AnalysisResult ¶
type AnalysisResult struct { Result AnalysisResponse // 结果 Err error // 错误 }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client 实例
func (*Client) Analysis ¶
func (c *Client) Analysis(ctx context.Context, content string) *AnalysisResult
Analysis 快手解析
func (*Client) ConfigZapClientFun ¶ added in v1.0.141
func (c *Client) ConfigZapClientFun(apiZapLogFun golog.ApiZapLogFun)
ConfigZapClientFun 日志配置
func (*Client) ExtractImageLink ¶
func (*Client) ExtractVideoLink ¶
func (*Client) GetVideoHtml ¶
func (*Client) GetVideoLink ¶
Click to show internal directories.
Click to hide internal directories.