主要是一些 bilibili
的公共方法
go get -u github.com/d1y/b23utils
-
func Bv2avByAPI(str) str {}
将bvid
转为avid
, 通过bilibili
官方api
, 不推荐使用 -
func Bv2av(str) str {}
将bvid
转为avid
-
func Av2bv(str) str {}
将avid
转为bvid
-
func FullURL(str) str {}
将id
转为完整的url
格式