Documentation
¶
Index ¶
- Constants
- Variables
- func AddData(v interface{ ... }, s []Data, api reflect.Value)
- func Debug(api Api, jar CookieJar) (map[string]any, error)
- func Do[T any](api Api) (zero T, err error)
- func DoWithMap(api Api) (map[string]any, error)
- func EncWbi(query url.Values, mixinKey string)
- func GetWbiMixinKey() (string, error)
- func NewRequest(api Api, jar CookieJar) (req *http.Request, err error)
- func TypePtr(in any) uintptr
- func UpdateWbiMixinKey() error
- func ValuePtr(in any) uintptr
- type Any
- type Api
- type ApiError
- type CookieJar
- type Data
- type JsonBody
- type Marshaler
- type NoCSRF
- type NoWrapper
- type Request
- type RequestMap
- type Result
- type Verify
- type Wbi
Constants ¶
View Source
const ( UserAgent string = "" /* 129-byte string literal not displayed */ Referer string = "https://www.bilibili.com" )
Variables ¶
View Source
var ( ErrNoSESSDATA = errors.New("request: no SESSDATA") ErrNoBiliJct = errors.New("request: no bili_jct") )
Functions ¶
func GetWbiMixinKey ¶
func UpdateWbiMixinKey ¶
func UpdateWbiMixinKey() error
Types ¶
type RequestMap ¶
type RequestMap struct {
// contains filtered or unexported fields
}
func NewRequestMap ¶
func NewRequestMap() *RequestMap
Click to show internal directories.
Click to hide internal directories.