[] feat: runs every night at 1am
Some checks failed
Update EPG (m3u4u) / update-files (push) Failing after 19s
Update EPG / update-files (push) Failing after 34s

This commit is contained in:
2025-02-17 15:54:05 -06:00
parent da895e3190
commit 9f108a78c0
10 changed files with 201871 additions and 203640 deletions

View File

@@ -59,6 +59,10 @@ def filter_and_build_epg(urls):
tree.write(f, encoding='utf-8', xml_declaration=True)
print(f"New EPG saved to {output_file_gz}")
def copy_to_server():
os.system('scp -o StrictHostKeyChecking=no '+output_file_gz+' brock@192.168.1.10:/var/www/iptv.caldwell.local/epg.xml.gz')
os.system('ssh -o StrictHostKeyChecking=no brock@192.168.1.10 -t ')
urls = [
'https://www.dropbox.com/scl/fi/i7kgakvjubjwiscuab467/m3u4u-103216-595281-EPG.xml?rlkey=ykvw6gyhx93erycl19sa6xft5&st=tlrrz59n&dl=1',
'https://epgshare01.online/epgshare01/epg_ripper_US1.xml.gz',
@@ -68,4 +72,5 @@ urls = [
]
if __name__ == "__main__":
filter_and_build_epg(urls)
# filter_and_build_epg(urls)
copy_to_server()