go_cms

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: MIT Imports: 9 Imported by: 0

README

go_cms

采集影视信息

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCMS

func NewCMS(host string) *cms

Types

type Class

type Class struct {
	TypeId   int64  `json:"type_id"`
	TypePid  int64  `json:"type_pid"`
	TypeName string `json:"type_name"`
}

type ClassList

type ClassList struct {
	*List
	Class []*Class `json:"class"`
}

type List

type List struct {
	Code      int64  `json:"-"`
	Msg       string `json:"msg"`
	Page      int64  `json:"-"`
	PageCount int64  `json:"-"`
	Limit     int64  `json:"-"`
	Total     int64  `json:"-"`
}

type UrlList

type UrlList struct {
	Name string `json:"name"`
	Url  string `json:"url"`
}

type Video

type Video struct {
	VodId       int64  `json:"vod_id"`
	VodName     string `json:"vod_name"`
	TypeId      int64  `json:"type_id"`
	TypeName    string `json:"type_name"`
	VodEn       string `json:"vod_en"`
	VodTime     string `json:"vod_time"`
	VodRemarks  string `json:"vod_remarks"`
	VodPlayFrom string `json:"vod_play_from"`
}

type VideoInfo

type VideoInfo struct {
	VodId   int    `json:"vod_id"`
	TypeId  int    `json:"type_id"`
	TypeId1 int    `json:"type_id_1"`
	GroupId int    `json:"group_id"`
	VodName string `json:"vod_name"`
	VodSub  string `json:"vod_sub"`
	VodEn   string `json:"vod_en"`
	//VodStatus        int    `json:"vod_status"`
	VodLetter        string `json:"vod_letter"`
	VodColor         string `json:"vod_color"`
	VodTag           string `json:"vod_tag"`
	VodClass         string `json:"vod_class"`
	VodPic           string `json:"vod_pic"`
	VodPicThumb      string `json:"vod_pic_thumb"`
	VodPicSlide      string `json:"vod_pic_slide"`
	VodPicScreenshot string `json:"vod_pic_screenshot"`
	VodActor         string `json:"vod_actor"`
	VodDirector      string `json:"vod_director"`
	VodWriter        string `json:"vod_writer"`
	VodBehind        string `json:"vod_behind"`
	VodBlurb         string `json:"vod_blurb"`
	VodRemarks       string `json:"vod_remarks"`
	VodPubdate       string `json:"vod_pubdate"`
	//VodTotal         int    `json:"vod_total"`
	VodSerial      string `json:"vod_serial"`
	VodTv          string `json:"vod_tv"`
	VodWeekday     string `json:"vod_weekday"`
	VodArea        string `json:"vod_area"`
	VodLang        string `json:"vod_lang"`
	VodYear        string `json:"vod_year"`
	VodVersion     string `json:"vod_version"`
	VodState       string `json:"vod_state"`
	VodAuthor      string `json:"vod_author"`
	VodJumpUrl     string `json:"vod_jumpurl"`
	VodTpl         string `json:"vod_tpl"`
	VodTplPlay     string `json:"vod_tpl_play"`
	VodTplDown     string `json:"vod_tpl_down"`
	VodISend       int    `json:"vod_isend"`
	VodLock        int    `json:"vod_lock"`
	VodLevel       int    `json:"vod_level"`
	VodCopyright   int    `json:"vod_copyright"`
	VodPoints      int    `json:"vod_points"`
	VodPointsPlay  int    `json:"vod_points_play"`
	VodPointsDown  int    `json:"vod_points_down"`
	VodHits        int    `json:"vod_hits"`
	VodHitsDay     int    `json:"vod_hits_day"`
	VodHitsWeek    int    `json:"vod_hits_week"`
	VodHitsMonth   int    `json:"vod_hits_month"`
	VodDuration    string `json:"vod_duration"`
	VodUp          int    `json:"vod_up"`
	VodDown        int    `json:"vod_down"`
	VodScore       string `json:"vod_score"`
	VodScoreAll    int    `json:"vod_score_all"`
	VodScoreNum    int    `json:"vod_score_num"`
	VodTime        string `json:"vod_time"`
	VodTimeAdd     int    `json:"vod_time_add"`
	VodTimeHits    int    `json:"vod_time_hits"`
	VodTimeMake    int    `json:"vod_time_make"`
	VodTrySee      int    `json:"vod_trysee"`
	VodDouBanId    int    `json:"vod_douban_id"`
	VodDouBanScore string `json:"vod_douban_score"`
	VodReUrl       string `json:"vod_reurl"`
	VodRelVod      string `json:"vod_rel_vod"`
	VodRelArt      string `json:"vod_rel_art"`
	VodPwd         string `json:"vod_pwd"`
	VodPwdUrl      string `json:"vod_pwd_url"`
	VodPwdPlay     string `json:"vod_pwd_play"`
	VodPwdPlayUrl  string `json:"vod_pwd_play_url"`
	VodPwdDown     string `json:"vod_pwd_down"`
	VodPwdDownUrl  string `json:"vod_pwd_down_url"`
	VodContent     string `json:"vod_content"`
	VodPlayFrom    string `json:"vod_play_from"`
	VodPlayServer  string `json:"vod_play_server"`
	VodPlayNote    string `json:"vod_play_note"`
	VodPlayUrl     string `json:"vod_play_url"`
	VodDownFrom    string `json:"vod_down_from"`
	VodDownServer  string `json:"vod_down_server"`
	VodDownNote    string `json:"vod_down_note"`
	VodDownUrl     string `json:"vod_down_url"`
	VodPlot        int    `json:"vod_plot"`
	VodPlotName    string `json:"vod_plot_name"`
	VodPlotDetail  string `json:"vod_plot_detail"`
	TypeName       string `json:"type_name"`
}

func (*VideoInfo) GetDownloadList

func (v *VideoInfo) GetDownloadList() []*UrlList

func (*VideoInfo) GetPlaylist

func (v *VideoInfo) GetPlaylist() []*UrlList

type VideoInfoList

type VideoInfoList struct {
	*List
	VideoInfoList []*VideoInfo `json:"list"`
}

type VideoList

type VideoList struct {
	*List
	VideoList []*Video `json:"list"`
}

Jump to

Keyboard shortcuts

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