Update 酒店源.py
This commit is contained in:
@@ -158,7 +158,4 @@ for url in valid_urls:
|
|||||||
# 写入到文件中
|
# 写入到文件中
|
||||||
with open('iptv.txt', 'a', encoding='utf-8') as outfile:
|
with open('iptv.txt', 'a', encoding='utf-8') as outfile:
|
||||||
outfile.write(new_line + '\n')
|
outfile.write(new_line + '\n')
|
||||||
except requests.exceptions.RequestException as e:
|
|
||||||
print(f"Error fetching or processing the JSON data: {e}")
|
|
||||||
|
|
||||||
print("频道列表文件iptv.txt获取完成!")
|
print("频道列表文件iptv.txt获取完成!")
|
||||||
|
|||||||
Reference in New Issue
Block a user