upcoming¶
This page describes upcoming module which can be imported as vlivepy.upcoming
UpcomingVideo¶
-
class
vlivepy.upcoming.
UpcomingVideo
(seq, time, cseq, cname, ctype, name, type, product)[source]¶ This is the object for upcoming list item
-
property
cname
¶ Origin channel name of item.
- Return type
str
-
property
cseq
¶ Origin channel seq id of item.
- Return type
str
-
property
ctype
¶ Origin channel type of item.
- Returns
“BASIC” if the channel type is normal. “PREMIUM” if the channel type is membership.
- Return type
str
-
property
name
¶ Title of item.
- Return type
str
-
property
product
¶ Product type of item.
- Returns
“NONE” if the item is normal live. “PAID” if the item is VLIVE+ product.
- Return type
str
-
property
seq
¶ VideoSeq of item.
- Return type
str
-
property
time
¶ String start time of item.
- Return type
str
-
property
type
¶ Type of item.
- Returns
“VOD”, “UPCOMING_VOD”, “UPCOMING_LIVE”, “LIVE”
- Return type
str
-
property
getUpcomingList()¶
-
vlivepy.upcoming.
getUpcomingList
(date: Optional[Union[str, int]] = None, silent: bool = False) → Optional[List[vlivepy.upcoming.UpcomingVideo]][source]¶ Load upcoming webpage and parse each item.
- Parameters
date (
Union[str, int]
, optional) – The date with yyyyMMdd format to load upcoming, defaults to None.silent (
bool
, optional) – Return None instead of raising exception, defaults to False.
- Returns
List of
UpcomingVideo