File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -358,7 +358,7 @@ def convert_to_m3u(first_channel_name=None):
358
358
user_final_file = resource_path (config .final_file )
359
359
if os .path .exists (user_final_file ):
360
360
with open (user_final_file , "r" , encoding = "utf-8" ) as file :
361
- m3u_output = '#EXTM3U x-tvg-url="https://live.fanmingming.cn /e.xml"\n '
361
+ m3u_output = '#EXTM3U x-tvg-url="https://raw.githubusercontent.com/fanmingming/live/main /e.xml"\n '
362
362
current_group = None
363
363
for line in file :
364
364
trimmed_line = line .strip ()
@@ -378,7 +378,7 @@ def convert_to_m3u(first_channel_name=None):
378
378
+ ("+" if m .group (3 ) else "" ),
379
379
first_channel_name if current_group == "🕘️更新时间" else original_channel_name ,
380
380
)
381
- m3u_output += f'#EXTINF:-1 tvg-name="{ processed_channel_name } " tvg-logo="https://live.fanmingming.cn /tv/{ processed_channel_name } .png"'
381
+ m3u_output += f'#EXTINF:-1 tvg-name="{ processed_channel_name } " tvg-logo="https://raw.githubusercontent.com/fanmingming/live/main /tv/{ processed_channel_name } .png"'
382
382
if current_group :
383
383
m3u_output += f' group-title="{ current_group } "'
384
384
m3u_output += f",{ original_channel_name } \n { channel_link } \n "
You can’t perform that action at this time.
0 commit comments