vlivepy.OfficialVideoPost

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

Bases: vlivepy.model.PostModel

This is the object represents a post of VLIVE

Parameters
  • init_id (Union[str, int]) – Unique id of post to load. Also, the object can be initialized by video_seq.

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

session

Optional. Session for loading data with permission.

Type

UserSession

official_video()Union[vlivepy.model.OfficialVideoVOD, vlivepy.model.OfficialVideoLive][source]

Generate OfficialVideoLive or OfficialVideoVOD object that paired to official video posts

Returns

OfficialVideoVOD, if the video is VOD.

Returns

OfficialVideoLive, if the video is Live.

property official_video_type

Type of video.

Returns

“LIVE” if the video is upcoming/on air live. “VOD” if the video is VOD.

Return type

str

property video_seq

Unique id of OfficialVideoPost. (video_seq type)

Return type

str