Documentation ¶
Index ¶
- Constants
- type AnalysisResponse
- type AnalysisResult
- type Client
- func (c *Client) Analysis(ctx context.Context, content string) *AnalysisResult
- func (c *Client) ConfigSLogClientFun(sLogFun golog.SLogFun)
- func (c *Client) DefaultHttp()
- 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
- func (c *Client) SetHttp(app *gorequest.App)
- 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) ConfigSLogClientFun ¶ added in v1.0.162
ConfigSLogClientFun 日志配置
func (*Client) ExtractImageLink ¶
func (*Client) ExtractVideoLink ¶
func (*Client) GetVideoHtml ¶
func (*Client) GetVideoLink ¶
Click to show internal directories.
Click to hide internal directories.