scraper

package
v0.0.0-...-f470d3b Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2020 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Content

type Content struct {
	Value  string
	Magnet metainfo.Magnet
}

type Page

type Page struct {
	Title string
	URL   url.URL
}

type Scraper

type Scraper interface {
	ScrapeCatalog(u, proxy *url.URL) ([]Page, error)
	ScrapeContent(u, proxy *url.URL) (*Content, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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