mech

package module
v1.24.9 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: OSL-3.0 Imports: 8 Imported by: 11

README

Mech

I see him behind my lids in a bright grey shirt
I see him tripping running and falling, covered in dirt
I see a lot of these things lately I know
I know none of it is real

Blood Orange (2013)

Mechanize: anonymous API access

https://pkg.go.dev/github.com/89z/mech

Sites

  1. Deezer
  2. MusicBrainz
  3. YouTube

Author

Steven Penny

Documentation

Index

Constants

This section is empty.

Variables

View Source
var VoidElement = map[string]bool{
	"br":    true,
	"img":   true,
	"input": true,
	"meta":  true,
}

Functions

func ReadRequest added in v1.24.9

func ReadRequest(r io.Reader) (*http.Request, error)

Types

type Encoder added in v1.24.9

type Encoder struct {
	io.Writer
	// contains filtered or unexported fields
}

func NewEncoder added in v1.24.9

func NewEncoder(w io.Writer) Encoder

func (Encoder) Encode added in v1.24.9

func (e Encoder) Encode(r io.Reader) error

func (*Encoder) SetIndent added in v1.24.9

func (e *Encoder) SetIndent(indent string)

type Scanner added in v1.24.9

type Scanner struct {
	*html.Tokenizer
	html.Token
}

func NewScanner added in v1.24.9

func NewScanner(r io.Reader) Scanner

func (Scanner) Attr added in v1.24.9

func (s Scanner) Attr(key string) string

func (Scanner) Bytes added in v1.24.9

func (s Scanner) Bytes() []byte

func (*Scanner) ScanAttr added in v1.24.9

func (s *Scanner) ScanAttr(key, val string) bool

func (*Scanner) ScanText added in v1.24.9

func (s *Scanner) ScanText() bool

func (Scanner) Text added in v1.24.9

func (s Scanner) Text() string

Directories

Path Synopsis
cmd
Deezer
Deezer
MusicBrainz
MusicBrainz
research
YouTube
YouTube

Jump to

Keyboard shortcuts

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