vlivepy.model.OfficialVideoModel

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

Bases: vlivepy.model.DataModel

This is the base object for OfficialVideoLive and OfficialVideoVOD This contains common property of Live and VOD object.

Note

This is the base object for other object without independent usage.

Parameters
  • video_seq (Union[str, int]) – Unique id(seq) of video.

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

session

Optional. Session for loading data with permission.

Type

UserSession

property comment_count

Count of comment in video.

Return type

int

property created_at

Epoch timestamp about Unknown. The nanosecond units are displayed below the decimal point.

Return type

float

property expose_status

Exposed-on-website status of video.

Return type

bool

property has_live_thumb

Boolean value for having live thumbnail or not.

Return type

bool

property has_mobile_da

Boolean value for Unknown.

Return type

bool

property has_notice

Boolean value for having notice.

Return type

bool

property has_post_ad

Boolean value for having post advertise.

Return type

bool

property has_pre_ad

Boolean value for having pre advertise.

Return type

bool

property has_upcoming

Boolean value for having upcoming.

Return type

bool

property like_count

Count of like received in video.

Return type

int

multinational_title_get(locale)dict[source]

Get multinational title info by locale.

Parameters

locale (str) – locale to load.

Return type

dict

multinational_title_locales()list[source]

Get locales from multinational title.

Return type

list

property multinational_titles

Title translations.

Return type

List[dict]

property on_air_start_at

Epoch timestamp about reserved/started on air time. The nanosecond units are displayed below the decimal point.

Return type

float

property play_count

Count of video play time.

Return type

int

property product_type

Product type about VLIVE+

Returns

“NONE” if the video is normal video. “VLIVE_PLUS” if the video is VLIVE+.

Return type

str

property screen_orientation

Orientation of video.

Returns

“VERTICAL” if the video orientation is vertical. “HORIZONTAL” if the video orientation is horizontal.

Return type

str

property thumb

Url of thumbnail.

Return type

str

property title

Title of video.

Return type

str

property video_seq

Unique id(seq) of video.

Return type

str

property 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 vr_content_type

String value for vr content type.

Return type

str

property will_end_at

Epoch timestamp about reserved end time. The nanosecond units are displayed below the decimal point.

Return type

float

property will_start_at

Epoch timestamp about Unknown. The nanosecond units are displayed below the decimal point.

Return type

float