Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
firofame authored Aug 4, 2024
1 parent dfb4e25 commit adba218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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://live.firofame.workers.dev/?@={handle}'
m3u8_url = f'https://live.firofame.workers.dev/?@={handle}'
# 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')
Expand Down

0 comments on commit adba218

Please sign in to comment.