Creates a permanent link for the live feed (HLS/m3u8) of a Youtube channel or video
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.
- Retrieve HLS URLs for YouTube videos.
- Retrieve live stream HLS URLs for YouTube channels.
- Retrieve JSON data for YouTube videos.
- Retrieve live stream JSON data for YouTube channels.
- Log requests and store IP details.
- Fast and secure data retrieval.
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. |
- Copyright (C) 2024 by keyiflerolsun ❤️️
- Licensed under the GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007.
Feel free to contact me on Telegram: @keyiflerolsun
Written for @KekikAkademi