parser

package
v0.0.0-...-1de352e Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BASE_URL = "http://yugioh-wiki.de"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KarteParser

type KarteParser struct {
	Doc  *goquery.Document
	Card *model.Karte
}

func NewKarteParser

func NewKarteParser(url string) *KarteParser

func (*KarteParser) FindAttrAndRank

func (k *KarteParser) FindAttrAndRank()

func (*KarteParser) FindCategories

func (k *KarteParser) FindCategories()

func (*KarteParser) FindNames

func (k *KarteParser) FindNames()

func (*KarteParser) FindPictureUrl

func (k *KarteParser) FindPictureUrl()

func (*KarteParser) FindTrAttributes

func (k *KarteParser) FindTrAttributes()

func (*KarteParser) Run

func (k *KarteParser) Run() *model.Karte

type LinkParser

type LinkParser struct {
	Doc          *goquery.Document
	LinksChannel chan string
}
func (l *LinkParser) FindCardLinks(url string) (links []string)

func (*LinkParser) FindNextLinkPage

func (l *LinkParser) FindNextLinkPage(url string) (href string)

func (*LinkParser) SetChannel

func (l *LinkParser) SetChannel(c chan string)

Jump to

Keyboard shortcuts

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