diff --git a/app.py b/app.py index fd6fe88..f9aca12 100644 --- a/app.py +++ b/app.py @@ -36,8 +36,8 @@ 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}' + # 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')