scraper

package
v0.0.0-...-ada829c Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const ApiEndpoint string = "https://www.infoimprese.it/impr"

Variables

This section is empty.

Functions

This section is empty.

Types

type Scraper

type Scraper struct {
	*settings.AutoQueryParams
	*settings.AutoSetting
	*settings.Config
	Client *http.Client
	Writer *csv.Writer
	Count  uint64
}

func (*Scraper) ScrapePage

func (s *Scraper) ScrapePage(page uint) []map[string]string

func (*Scraper) SetSearch

func (s *Scraper) SetSearch(query string, where string, config settings.Config, outputFile string)

func (*Scraper) StartSearch

func (s *Scraper) StartSearch()

Jump to

Keyboard shortcuts

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