post¶
This page describes post module which can be imported as vlivepy.post
getFVideoInkeyData()¶
-
vlivepy.post.
getFVideoInkeyData
(f_video_id: str, session: Optional[vlivepy.session.UserSession] = None, silent: bool = False) → Optional[dict][source]¶ Get InKey data of File video
- Parameters
f_video_id (
str
) – Unique id of the FVideo to load InKey data.session (
vlivepy.UserSession
, optional) – Session for loading data with permission, defaults to None.silent (
bool
, optional) – Return None instead of raising exception, defaults to False.
- Returns
dict
. Parsed json data
getFVideoPlayInfo()¶
-
vlivepy.post.
getFVideoPlayInfo
(f_video_id: str, f_vod_id: str, session: Optional[vlivepy.session.UserSession] = None, silent: bool = False) → Optional[dict][source]¶ Get InKey data of File video
- Parameters
f_video_id (
str
) – Unique id of the video-attachment to load data.f_vod_id (
str
) – Unique id of the video-vod to load data.session (
vlivepy.UserSession
, optional) – Session for loading data with permission, defaults to None.silent (
bool
, optional) – Return None instead of raising exception, defaults to False.
- Returns
dict
. Parsed json data