Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

keyiflerolsun/ythls-FastAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

53531ec Β· Feb 19, 2025

History

11 Commits
Aug 6, 2024
Aug 6, 2024
Feb 19, 2025
Feb 12, 2025
Aug 6, 2024
Jan 24, 2025
Jan 24, 2025
Aug 6, 2024
Aug 6, 2024
Aug 6, 2024
Aug 6, 2024
Aug 6, 2024
Aug 6, 2024
Feb 12, 2025

Repository files navigation

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

  • 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.

πŸ“– 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