keyiflerolsun / ythls-FastAPI

Creates a permanent link for the live feed (HLS/m3u8) of a Youtube channel or video
https://ythls.kekikakademi.org/youtube
GNU General Public License v3.0
11 stars 3 forks source link
fastapi hls m3u8 youtube youtube-hls youtube-m3u8 ythls

ythls-FastAPI

Size Views

Creates a permanent link for the live feed (HLS/m3u8) of a Youtube channel or video

ForTheBadge made-with-python ForTheBadge built-with-love

📄 Description

ythls-FastAPI is a FastAPI application that retrieves HLS URLs and JSON data for YouTube videos and channels. The application provides data in both HLS and JSON formats using specific YouTube video and channel IDs.

📋 Features

📖 API Endpoints

Method Endpoint Description
GET https://ythls.kekikakademi.org/youtube Provides information about the API and lists available endpoints.
GET https://ythls.kekikakademi.org/youtube/channel/{id}.m3u8 Get the HLS URL for a YouTube channel live stream. Replace {id} with the channel ID.
GET https://ythls.kekikakademi.org/youtube/video/{id}.m3u8 Get the HLS URL for a YouTube video. Replace {id} with the video ID.
GET https://ythls.kekikakademi.org/youtube/channel/{id}.json Get the JSON data for a YouTube channel live stream. Replace {id} with the channel ID.
GET https://ythls.kekikakademi.org/youtube/video/{id}.json Get the JSON data for a YouTube video. Replace {id} with the video ID.

🌐 License and Copyright

♻️ Contact

Feel free to contact me on Telegram: @keyiflerolsun

💸 Donate

☕️ Buy Me a Coffe


Written for @KekikAkademi