Commit 30f3befe authored by Jonas's avatar Jonas

Recupération sur 7 jours

parent 8f5857e0
......@@ -180,7 +180,7 @@ def get_epg_data(root, channel_uid, channel_slug, start_time):
'''
# Scan EPG to get program data
epg_progs = {}
for time_slot in range(10):
for time_slot in range(100):
epgurl = EPG_URL + "%s/%s/" % (channel_uid, start_time+time_slot*7200)
dic_epg = do_request(epgurl)
logging.info("Récupération de %d programes (il y en avait %d avant cette requête)"%(len(dic_epg), len(epg_progs)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment