Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbsoluteURL ¶
func GetFirstAcestreamLink ¶
GetFirstAcestreamLink returns the first Acestream link of the page
func NewDocumentFromFile ¶
NewDocumentFromFile returns a goquery.Document from a file.
Types ¶
type URLGetter ¶
type URLGetter interface { Get(url string) (*http.Response, error) Do(*http.Request) (*http.Response, error) }
URLGetter interface defines the methods needed to get an URL. A standard http.Client satisfy the interface.
func DefaultURLGetter ¶
func DefaultURLGetter() URLGetter
DefaultURLGetter returns an http.Client as the default URL getter.
Click to show internal directories.
Click to hide internal directories.