/youtube_lv

youtuber live status

Primary LanguagePythonApache License 2.0Apache-2.0

image

how to download

pip install youtube-lv

how to update

pip install --upgrade youtube-lv

how to use

Youtube

from ytlv import youtube
live=youtube("https://www.youtube.com/@ShirakamiFubuki")
print(live)
# return Youtube class

Youtube class

channellink :str
link: str | None
status: str | None
islive: bool
title: str | None
picture: str | None
timestamp: float | None

Youtube status

  "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

Youtube 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

Twitch class

link: str
status: str | None
islive: bool
title: str | None
picture: str | None
avatar: str | None

Twitch status

  "LIVE" | "ERROR" | None