From 3d7fde9ebae504130bc5866764098455a048e648 Mon Sep 17 00:00:00 2001 From: Firoz Ahmed Date: Mon, 22 Jul 2024 11:14:16 +0530 Subject: [PATCH] Update app.py --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 59fdb03..40197e8 100644 --- a/app.py +++ b/app.py @@ -36,7 +36,7 @@ channel_id = data['contents']['twoColumnWatchNextResults']['results']['results']['contents'][1]['videoSecondaryInfoRenderer']['owner']['videoOwnerRenderer']['title']['runs'][0]['navigationEndpoint']['browseEndpoint']['browseId'] # Construct the M3U8 URL for the channel's live stream - m3u8_url = f'https://ythls.armelin.one/channel/{channel_id}.m3u8' + m3u8_url = f'https://live.firofame.workers.dev/?@={handle}' # Write the metadata and URL to the playlist file f.write(f'#EXTINF:-1 tvg-logo="{image_url}" group-title="{group}", {channel_name}\n{m3u8_url}\n\n')