http

package
v0.0.0-...-7e4ce2d Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fetcher

type Fetcher struct{}

Fetcher implements crawlers.URLFetcher interface

func NewFetcher

func NewFetcher() *Fetcher

NewFetcher creates and returns a Fetcher

func (*Fetcher) ExtractURLs

func (f *Fetcher) ExtractURLs(url string) ([]string, error)

ExtractURLs returns all the links from a page only links from anchor tags(<a href="url"></a>) are returned

Jump to

Keyboard shortcuts

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