From 3b176bcb031d8a6d85dd88425582be08245d6aa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E6=98=8E=E6=98=8E?= Date: Fri, 20 Dec 2024 11:35:09 +0800 Subject: [PATCH] Update index.html MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 范明明 --- txt2m3u/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/txt2m3u/index.html b/txt2m3u/index.html index d983974ac..841fcbd1d 100644 --- a/txt2m3u/index.html +++ b/txt2m3u/index.html @@ -79,7 +79,7 @@ function convertToM3U() { const txtInput = document.getElementById('txtInput').value; const lines = txtInput.split('\n'); - let m3uOutput = '#EXTM3U x-tvg-url="https://live.fanmingming.com/e.xml"\n'; + let m3uOutput = '#EXTM3U x-tvg-url="https://live.fanmingming.cn/e.xml"\n'; let currentGroup = null; for (const line of lines) { const trimmedLine = line.trim(); @@ -89,7 +89,7 @@ } else { const [originalChannelName, channelLink] = trimmedLine.split(',').map(item => item.trim()); const processedChannelName = originalChannelName.replace(/(CCTV|CETV)-(\d+).*/, '$1$2'); - m3uOutput += `#EXTINF:-1 tvg-name="${processedChannelName}" tvg-logo="https://live.fanmingming.com/tv/${processedChannelName}.png"`; + m3uOutput += `#EXTINF:-1 tvg-name="${processedChannelName}" tvg-logo="https://live.fanmingming.cn/tv/${processedChannelName}.png"`; if (currentGroup) { m3uOutput += ` group-title="${currentGroup}"`; }