walletexplorer

package
v0.0.0-...-bcfd2cf Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package walletexplorer Spider for address tags resource from walletexplorer.com

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Spider

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

Spider creates a web spider with predefined url to crawl

func NewSpider

func NewSpider(pg *postgres.Pg) Spider

NewSpider instance new spider object

func (*Spider) ExtractAddresses

func (s *Spider) ExtractAddresses(target string) (tags []tag.Model, err error)

ExtractAddresses returns the list of signed messages

func (*Spider) NavigateNextPage

func (s *Spider) NavigateNextPage(target string, reached bool)

NavigateNextPage scrapes pages incrementally extracting next page url from pages bar

func (*Spider) Sync

func (s *Spider) Sync() (err error)

Sync visits the spider's target and extract address tags

Jump to

Keyboard shortcuts

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