biligo

package module
v0.0.0-...-4fff4a8 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2017 License: MIT Imports: 7 Imported by: 0

README

bilibili-go

A bilibili portal implemented in go.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bilibili

type Bilibili struct {
	Client *http.Client
}

Bilibili is a struct for easy net.Client access

func NewFromCookie

func NewFromCookie(cookie string) (*Bilibili, error)

NewFromCookie log into Bilibili with cookie Strongly deprecated

func NewFromLogin

func NewFromLogin(username, password string) (*Bilibili, error)

NewFromLogin logs into Bilibili with credentials.

func (*Bilibili) IsLoggedIn

func (b *Bilibili) IsLoggedIn() (bool, error)

IsLoggedIn determines whether you logged in

func (*Bilibili) SendComment

func (b *Bilibili) SendComment(oid int, message string) (int, error)

SendComment sends a comment, returns success or not. Requesting too quick will cause captcha requirement.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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