pip install youtube-lv
pip install --upgrade youtube-lv
Youtube
from ytlv import youtube
live=youtube("https://www.youtube.com/@ShirakamiFubuki")
print(live)
# return Youtube class
channellink :str
link: str | None
status: str | None
islive: bool
title: str | None
picture: str | None
timestamp: float | None
"LIVE" | "READY_TO_LIVE" | "ERROR"| None
from ytlv import youtube
live=youtube_lives("https://www.youtube.com/@ShirakamiFubuki/streams")
print(live)
# return Youtube_lives class
[
channellink: str
link: str | None
picture: list[str] | None
title: str | None
]
Twitch
from ytlv import twitch
live=twitch("iitifox")
print(live)
# return twitch class
link: str
status: str | None
islive: bool
title: str | None
picture: str | None
avatar: str | None
"LIVE" | "ERROR" | None