Documentation ¶
Index ¶
- Constants
- func New(options ...drivercommon.Option) (drivercommon.DriverPlugin, error)
- type BiLiBiLi
- func (b *BiLiBiLi) CheckUrl(ctx context.Context, metaurl string) bool
- func (b *BiLiBiLi) Download(ctx context.Context, metaurl string) ([]byte, error)
- func (b *BiLiBiLi) DownloadUsable() bool
- func (b *BiLiBiLi) IsLogin() bool
- func (b *BiLiBiLi) MaxSize() int
- func (b *BiLiBiLi) Name() string
- func (b *BiLiBiLi) QrcodeLogin(ctx context.Context, show func(ctx context.Context, image image.Image) error) (cookie string, err error)
- func (b *BiLiBiLi) SetAuthorization(auto string) error
- func (b *BiLiBiLi) SetOption(options ...drivercommon.Option) error
- func (b *BiLiBiLi) SpaceSize() drivercommon.SpaceSize
- func (bjh *BiLiBiLi) SuperEncoder() []string
- func (b *BiLiBiLi) Upload(ctx context.Context, block []byte) (sha1 string, err error)
- func (b *BiLiBiLi) UploadUsable() bool
Constants ¶
View Source
const NAME = "bilibili"
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(options ...drivercommon.Option) (drivercommon.DriverPlugin, error)
Types ¶
type BiLiBiLi ¶
type BiLiBiLi struct {
// contains filtered or unexported fields
}
func (*BiLiBiLi) DownloadUsable ¶
func (*BiLiBiLi) QrcodeLogin ¶
func (b *BiLiBiLi) QrcodeLogin(ctx context.Context, show func(ctx context.Context, image image.Image) error) (cookie string, err error)
二维码登录
func (*BiLiBiLi) SetAuthorization ¶
func (*BiLiBiLi) SpaceSize ¶
func (b *BiLiBiLi) SpaceSize() drivercommon.SpaceSize
func (*BiLiBiLi) SuperEncoder ¶
func (*BiLiBiLi) UploadUsable ¶
Click to show internal directories.
Click to hide internal directories.