Hello,
I came across an Iranian website for EPG. The problem is that the site doesn't use the normal Gregorian Calendar. For example this is the index page:
http://tv1.irib.ir/portal/operationalconductor/view?dateview
For tomorrow it's like this:
http://tv1.irib.ir/portal/operationalconductor/view?dateview=1395/08/30
The day after tomorrow:
http://tv1.irib.ir/portal/operationalconductor/view?dateview=1395/09/01
How can I instruct webgrab to use this calendar instead of normal calendar? Is there a way??
Thanks in advance
Yeah seems like it. Maybe this calendar should be added to WebGrabPlus??
I just ran webgrab under windows 10 (virtual) and it actually created DateStrings with Persian Calendar if the culture is set fa-IR ! WOW! but under windows XP (virtual) it would always create Gregorian Calendar wether the cultureinfo is fa-IR or not.
This was really interesting to me!
I have came up with this INI for tv2.ir but it only works for 1 day! It I set timespan of my config file to more than 0, this ini will not grab anything. It just works for today. Do you have any suggestions? The site uses 1 index page for 7days and it uses .NET Ticks to seperate days from each other in the source. I can not instruct the webgrab to grab correctly.
So what about now? I still can't get anything besides today's schedule! And the next days are available now. WebGrab+ doesn't work the way I think is working....
The problem is that sometimes the first item is not today's EPG but previous days! This site updates 1 week schedule every Saturday!
Can I use LOOP method??
Oh yes I have forgotten about it!! Thanks so much, I will test this.
it worked but not with the "firstday=6012345" that you wrote.
documentation:
It needs to be entered as 7 numbers, from the first : days to skip on Monday .. To the last : days to skip on Sunday.
it worked with this: firstday=2345601 because for Monday, the program has to skip 2 days (Saturday and Sunday), so the string begins with 2 ...