checkbitcoinaddress

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: 7 Imported by: 0

Documentation

Overview

Package checkbitcoinaddress Spider for address tags resource from checkbitcoinaddress.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) ExtractForumProfiles

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

ExtractForumProfiles returns the list of forum profiles

func (*Spider) ExtractOTCProfiles

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

ExtractOTCProfiles returns the list of otc profiles

func (*Spider) ExtractSignedMessages

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

ExtractSignedMessages returns the list of signed messages

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

ExtractSubmittedLinks returns the list of submitted links

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