- Thread starter
- #151
Jan,
This is a great program and it far exceeds my expectations, thanks a lot. I only have one problem, the Turkey grabber seems to have a bug with the dates, it can grab "today" good, leaves a gap for "tomorrow" and starts writing "tomorrow"s data to "next day". So there is 1 day shift, but today is correct. I'm trying to debug but it seems weird to me that today is correct and others not. Could you help me with that?
Hi Hedehede81,
The site lists an early morning show twice (the last on 'today' and the first on 'tomorrow' are the same). That forces the dayjump in the program because the starttime of the second is before the stop time of the first ( if you can still follow me). You can solve this by disabling the stoptime entries in 'digiturk.com.tr.ini'.
Just add a * as first character.
There are two:
*index_stop.scrub {single(separator="+" include=first)|"PEndTime":"\/Date(||)\/"}
and further down:
*index_stop.modify {calculate(format=time)}
This way all stoptimes are the starttime of the next, and by that the start- and stop time of the first are the equal , making it a '0' hour show which will be ignored if you specify a 'minuteskip' in WebGrab++.config.xml like :
<skip>8,1</skip>
WG++Maker ... Jan