1
0
Fork 0
mirror of https://github.com/LaQuay/TDTChannels.git synced 2025-05-17 19:34:33 +02:00
This commit is contained in:
Marc Vila 2019-06-15 00:12:26 +02:00
parent ba7270e3be
commit 341060490e
4 changed files with 15 additions and 15 deletions

View file

@ -160,12 +160,12 @@ andorra.add_ambit(Ambito("Andorra", get_tv_channels_from_part(canales_andorra)))
# Save data to JSON file
json_result = {"license": get_license_info(),
"epg_url": "https://raw.githubusercontent.com/HelmerLuzo/TDTChannels_EPG/master/TDTChannels_EPG.xml",
"countries": [spain.to_json(),
international.to_json(),
andorra.to_json()],
"updated": get_current_timestamp()
}
"epg_url": "https://raw.githubusercontent.com/HelmerLuzo/TDTChannels_EPG/master/TDTChannels_EPG.xml",
"countries": [spain.to_json(),
international.to_json(),
andorra.to_json()],
"updated": get_current_timestamp()
}
json_file = open('./public/output/channels.json', "w+")
json_file.write(json.dumps(json_result, indent=4, sort_keys=False))
json_file.close()