Update 酒店源.py

This commit is contained in:
frxz751113
2024-08-29 20:38:03 +08:00
committed by GitHub
parent 1ac63bea30
commit 454155b220
-3
View File
@@ -158,7 +158,4 @@ for url in valid_urls:
# 写入到文件中
with open('iptv.txt', 'a', encoding='utf-8') as outfile:
outfile.write(new_line + '\n')
except requests.exceptions.RequestException as e:
print(f"Error fetching or processing the JSON data: {e}")
print("频道列表文件iptv.txt获取完成!")