18 lines
526 B
Go
18 lines
526 B
Go
package main
|
|
|
|
// AV:
|
|
// [GET]https://api.bilibili.com/x/player/pagelist?aid=1742929&jsonp=jsonp
|
|
// EP:
|
|
// [GET]https://api.bilibili.com/pgc/web/season/section?season_id=53&season_type=1
|
|
|
|
// EpisodeDataProvider 定义数据来源接口
|
|
type EpisodeDataProvider interface {
|
|
// GetEPData 根据视频号获取视频的集数据
|
|
GetEPData(videoNo int64) (epdatas []EPData, err error)
|
|
// GetAvData 根据av号获取av视频的集数据
|
|
GetAVData(avNo int64) (avdatas []AVData, err error)
|
|
}
|
|
|
|
type episodeDataProvider struct {
|
|
}
|