downloader

package
v0.0.0-...-ad5c98e Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SurferDownloader = &Surfer{
		surf:    surfer.New(cookieJar),
		phantom: surfer.NewPhantom(config.PHANTOMJS, config.PHANTOMJS_TEMP, cookieJar),
	}
)

Functions

This section is empty.

Types

type Downloader

type Downloader interface {
	Download(*spider.Spider, *request.Request) *spider.Context
}

type Surfer

type Surfer struct {
	// contains filtered or unexported fields
}

func (*Surfer) Download

func (self *Surfer) Download(sp *spider.Spider, cReq *request.Request) *spider.Context

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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