lfetch

package
v0.0.0-...-a3d510d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetResponse

func GetResponse(url, referer string) (response *ghttp.ClientResponse, err error)

GetResponse GetResponse

func PageSource

func PageSource(sourceURL, pageChartset string) (doc *goquery.Document, err error)

PageSource 获取网页源码

@sourceUrl string 请求网址 @pageChartset string 网页字符集编码 (GBK,GB2312,UTF-8,GB18030) @return @doc DOM, @err error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL