vlivepy.OfficialVideoVOD

class vlivepy.OfficialVideoVOD(video_seq: Union[str, int], session: Optional[vlivepy.session.UserSession] = None)[source]

Bases: vlivepy.model.OfficialVideoModel

This is the object represents a VOD-type-OfficialVideo of VLIVE

Parameters
  • video_seq (str) – Unique id of VOD to load.

  • session (UserSession, optional) – Session for loading data with permission, defaults to None.

session

Optional. Session for loading data with permission.

Type

UserSession

property dimension_type

Unknown value. Server commonly respond “NORMAL”

Return type

str

property encoding_status

VOD encoding status

Returns

“CONVERTING” if the video encoding is in progress. “COMPLETE” if the video encoding is done.

Return type

str

getInkeyData(silent: bool = False)dict[source]

Get InKey data of video

Parameters

silent (bool, optional) – Return None instead of raising exception, defaults to False.

Return type

dict

getVodPlayInfo(silent: bool = False)dict[source]

Get VOD play info of video

Parameters

silent (bool, optional) – Return None instead of raising exception, defaults to False.

Return type

dict

property has_moment

Boolean value for having user-created-moments

Return type

bool

property has_preview

Boolean value for having 30s preview video

Return type

bool

property play_time

Count of video play

Return type

int

recommended_videos(as_object: bool = False)list[source]

Get recommended video list

Parameters

as_object (bool, optional) – Init each item to OfficialVideoPost, defaults to False.

Return type

list

property vod_id

Unique id of VOD that paired with videoSeq

Return type

bool

property vod_secure_status

Status of DRM protection

Returns

“READY” if the DRM is ready but not applied to video. “COMPLETE” if the DRM is applied to video.

Return type

str