Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadDanmaku ¶ added in v0.0.38
Types ¶
type Entry ¶ added in v0.0.27
type Entry struct { MediaType int `json:"media_type"` HasDashAudio bool `json:"has_dash_audio"` IsCompleted bool `json:"is_completed"` TotalBytes int `json:"total_bytes"` DownloadedBytes int `json:"downloaded_bytes"` Title string `json:"title"` TypeTag string `json:"type_tag"` Cover string `json:"cover"` VideoQuality int `json:"video_quality"` PreferedVideoQuality int `json:"prefered_video_quality"` GuessedTotalBytes int `json:"guessed_total_bytes"` TotalTimeMilli int `json:"total_time_milli"` DanmakuCount int `json:"danmaku_count"` TimeUpdateStamp int64 `json:"time_update_stamp"` TimeCreateStamp int64 `json:"time_create_stamp"` CanPlayInAdvance bool `json:"can_play_in_advance"` InterruptTransformTempFile bool `json:"interrupt_transform_temp_file"` QualityPithyDescription string `json:"quality_pithy_description"` QualitySuperscript string `json:"quality_superscript"` CacheVersionCode int `json:"cache_version_code"` PreferredAudioQuality int `json:"preferred_audio_quality"` AudioQuality int `json:"audio_quality"` Avid int `json:"avid"` Spid int `json:"spid"` SeasionId int `json:"seasion_id"` Bvid string `json:"bvid"` OwnerId int `json:"owner_id"` OwnerName string `json:"owner_name"` OwnerAvatar string `json:"owner_avatar"` PageData struct { Cid int `json:"cid"` Page int `json:"page"` From string `json:"from"` Part string `json:"part"` Link string `json:"link"` RichVid string `json:"rich_vid"` Vid string `json:"vid"` HasAlias bool `json:"has_alias"` Weblink string `json:"weblink"` Offsite string `json:"offsite"` Tid int `json:"tid"` Width int `json:"width"` Height int `json:"height"` Rotate int `json:"rotate"` DownloadTitle string `json:"download_title"` DownloadSubtitle string `json:"download_subtitle"` } `json:"page_data"` }
type PlanB ¶ added in v0.0.33
type PlanB struct { MediaType int `json:"media_type"` HasDashAudio bool `json:"has_dash_audio"` IsCompleted bool `json:"is_completed"` TotalBytes int `json:"total_bytes"` DownloadedBytes int `json:"downloaded_bytes"` Title string `json:"title"` TypeTag string `json:"type_tag"` Cover string `json:"cover"` VideoQuality int `json:"video_quality"` PreferedVideoQuality int `json:"prefered_video_quality"` GuessedTotalBytes int `json:"guessed_total_bytes"` TotalTimeMilli int `json:"total_time_milli"` DanmakuCount int `json:"danmaku_count"` TimeUpdateStamp int64 `json:"time_update_stamp"` TimeCreateStamp int64 `json:"time_create_stamp"` CanPlayInAdvance bool `json:"can_play_in_advance"` InterruptTransformTempFile bool `json:"interrupt_transform_temp_file"` QualityPithyDescription string `json:"quality_pithy_description"` QualitySuperscript string `json:"quality_superscript"` CacheVersionCode int `json:"cache_version_code"` PreferredAudioQuality int `json:"preferred_audio_quality"` AudioQuality int `json:"audio_quality"` Ep struct { AvId int `json:"av_id"` Page int `json:"page"` Danmaku int `json:"danmaku"` Cover string `json:"cover"` EpisodeId int `json:"episode_id"` Index string `json:"index"` IndexTitle string `json:"index_title"` From string `json:"from"` SeasonType int `json:"season_type"` Width int `json:"width"` Height int `json:"height"` Rotate int `json:"rotate"` Link string `json:"link"` Bvid string `json:"bvid"` SortIndex int `json:"sort_index"` } `json:"ep"` SeasonId string `json:"season_id"` }
Click to show internal directories.
Click to hide internal directories.