spider

package
v0.0.0-...-70c7f13 Latest Latest
Warning

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

Go to latest
Published: May 15, 2022 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProxies

func GetProxies() []string

Types

type Response

type Response struct {
	Data []string `json: "data"`
}

type Spider

type Spider struct {
	Collector *colly.Collector
	Redis     *redis.Redis
	DB        *db.DB
}

func New

func New() *Spider

func (*Spider) Run

func (s *Spider) Run()

get book information from 博客來

Jump to

Keyboard shortcuts

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