diff --git a/tv_grab_nl.py b/tv_grab_nl.py index d554eb6..cb89ea5 100755 --- a/tv_grab_nl.py +++ b/tv_grab_nl.py @@ -11013,7 +11013,12 @@ def init_channels(self): def get_url(self, channel = None, offset = 0, chan_group = 0): - scan_day = config.weekdagen[int(datetime.date.fromordinal(self.current_date + offset).strftime("%w"))] + if offset == 0: + scan_day = 'vandaag' + + else: + scan_day = config.weekdagen[int(datetime.date.fromordinal(self.current_date + offset).strftime("%w"))] + if channel == 'base': return config.source_base_url[self.proc_id]