Skip to content

Commit 49455c0

Browse files
authored
Update main.py
1 parent c8521db commit 49455c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def updateChannelUrlsM3U(channels, template_channels):
5050
"""
5151
Update the category and channel urls to the final file in M3U format
5252
"""
53-
with open("cs.m3u", "w") as f:
53+
with open("live.m3u", "w") as f:
5454
f.write("#EXTM3U\n")
5555
for channel in template_channels:
5656
if channel in channels:
@@ -84,6 +84,6 @@ def filter_source_urls(template_file):
8484
return channels, template_channels
8585

8686
if __name__ == "__main__":
87-
template_file = "demo.txt" # Replace "demo.txt" with your actual template file
87+
template_file = "demo.txt"
8888
channels, template_channels = filter_source_urls(template_file)
8989
updateChannelUrlsM3U(channels, template_channels)

0 commit comments

Comments
 (0)