bilibili

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is service providers.

Functions

This section is empty.

Types

type BilibiliService

type BilibiliService struct {
	pb.UnimplementedBilibiliServer
}

func NewBilibiliService

func NewBilibiliService(c *conf.BilibiliConfig) *BilibiliService

func (*BilibiliService) GetDashPGCURL

func (s *BilibiliService) GetDashPGCURL(ctx context.Context, req *pb.GetDashPGCURLReq) (*pb.GetDashPGCURLResp, error)

func (*BilibiliService) GetDashVideoURL

func (s *BilibiliService) GetDashVideoURL(ctx context.Context, req *pb.GetDashVideoURLReq) (*pb.GetDashVideoURLResp, error)

func (*BilibiliService) GetLiveStreams added in v0.3.3

func (s *BilibiliService) GetLiveStreams(ctx context.Context, req *pb.GetLiveStreamsReq) (*pb.GetLiveStreamsResp, error)

func (*BilibiliService) GetPGCURL

func (s *BilibiliService) GetPGCURL(ctx context.Context, req *pb.GetPGCURLReq) (*pb.VideoURL, error)

func (*BilibiliService) GetSubtitles

func (s *BilibiliService) GetSubtitles(ctx context.Context, req *pb.GetSubtitlesReq) (*pb.GetSubtitlesResp, error)

func (*BilibiliService) GetVideoURL

func (s *BilibiliService) GetVideoURL(ctx context.Context, req *pb.GetVideoURLReq) (*pb.VideoURL, error)

func (*BilibiliService) LoginWithQRCode

func (s *BilibiliService) LoginWithQRCode(ctx context.Context, req *pb.LoginWithQRCodeReq) (*pb.LoginWithQRCodeResp, error)

func (*BilibiliService) LoginWithSMS

func (s *BilibiliService) LoginWithSMS(ctx context.Context, req *pb.LoginWithSMSReq) (*pb.LoginWithSMSResp, error)

func (*BilibiliService) Match

func (s *BilibiliService) Match(ctx context.Context, req *pb.MatchReq) (*pb.MatchResp, error)

func (*BilibiliService) NewCaptcha

func (s *BilibiliService) NewCaptcha(ctx context.Context, req *pb.Empty) (*pb.NewCaptchaResp, error)

func (*BilibiliService) NewQRCode

func (s *BilibiliService) NewQRCode(ctx context.Context, req *pb.Empty) (*pb.NewQRCodeResp, error)

func (*BilibiliService) NewSMS

func (s *BilibiliService) NewSMS(ctx context.Context, req *pb.NewSMSReq) (*pb.NewSMSResp, error)

func (*BilibiliService) ParseLivePage added in v0.3.3

func (s *BilibiliService) ParseLivePage(ctx context.Context, req *pb.ParseLivePageReq) (*pb.VideoPageInfo, error)

func (*BilibiliService) ParsePGCPage

func (s *BilibiliService) ParsePGCPage(ctx context.Context, req *pb.ParsePGCPageReq) (*pb.VideoPageInfo, error)

func (*BilibiliService) ParseVideoPage

func (s *BilibiliService) ParseVideoPage(ctx context.Context, req *pb.ParseVideoPageReq) (*pb.VideoPageInfo, error)

func (*BilibiliService) UserInfo

func (s *BilibiliService) UserInfo(ctx context.Context, req *pb.UserInfoReq) (*pb.UserInfoResp, error)

Jump to

Keyboard shortcuts

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