Skip to content

Commit

Permalink
Fix on nieuwsblad
Browse files Browse the repository at this point in the history
  • Loading branch information
hikavdh committed Aug 27, 2016
1 parent b5fddbd commit cf42821
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tv_grab_nl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit cf42821

Please sign in to comment.