You are here

Ini files

About creating, modifying site INI files. (SiteIni Pack)

Unix time (midnight in GMT)

Forums: 

For requesting the schedule of FilmEurope I need the Unix time of Midnight in GMT.
I solved it this way:

urldate.format {datestring|yyyy-MM-dd}
index_variable_element.modify {calculate(scope=urlindex format=date,unix)|'urldate' 00:02 -}
url_index.modify {replace(scope=urlindex)|xxxxxxxx|'index_variable_element'}

But of course each time DST kicks-in, I have to change the hours substracted.
Can I solve this in an other way?

PS: the schedule is in the tmezone Europe/Paris, so I cannot set the timezone to GMT

swisscom.ch

Forums: 

Hi,I try to create an ini for swisscom.ch

but i stuck on "error downloading page: Index was outside the bounds of the array."

maybe someone can help ?

ini :

**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: services.sg1.etvp01.sctv.ch
* @MinSWversion: V2.1.5
* @Revision 1 - [25/03/2019] DeBaschdi
* -Creation
* @Remarks:
* @header_end
**------------------------------------------------------------------------------------------------
site {url=swisscom.ch|timezone=UTC|maxdays=14.1|cultureinfo=de-DE|charset=UTF-8|titlematchfactor=50}
*

url_index{url(debug)|https://services.sg1.etvp01.sctv.ch/catalog/tv/channels/list/ids=|channel|;level=enorm;start=|urldate|}
urldate.format {datestring|yyyyMMddHHmm}

url_index.headers {customheader=Accept-Encoding: gzip, deflate, br}
url_index.headers {accept=text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8}
url_index.headers {accept=application/json; charset=utf-8}

*index_urlshow.modify {cleanup(style=jsondecode)}

*
index_showsplit.scrub {(debug)multi|"Content":|"Channel"}
*index_showsplit.modify {cleanup(style=jsondecode)}

index_start.scrub {single(pattern="yyyy-MM-dd-HH:mm:ss")|"Start":"||"|"}
index_stop.scrub {single(pattern="yyyy-MM-dd-HH:mm:ss")|"End":"||"|"}

log :

[ Info ] ( 1/1 ) SWISSCOM.CH -- chan. (xmltv_id=ard) -- mode Force
[ Debug ] debugging information siteini; urlindex builder
[ Debug ] siteini entry :
[ Debug ] urldate format type: datestring, value: |yyyyMMddHHmm
[ Debug ] https://services.sg1.etvp01.sctv.ch/catalog/tv/channels/list/ids=|channel|;level=enorm;start=|urldate
[ Debug ] url_index created:
[ Debug ] https://services.sg1.etvp01.sctv.ch/catalog/tv/channels/list/ids=25;leve...
[Error ] error downloading page: Index was outside the bounds of the array. (10sec)
[Error ] retry 1 of 4 times
[Error ] error downloading page: Index was outside the bounds of the array. (20sec)
[Error ] retry 2 of 4 times
[Error ] error downloading page: Index was outside the bounds of the array. (30sec)
[Error ] retry 3 of 4 times
[Error ] error downloading page: Index was outside the bounds of the array. (40sec)
[Error ] retry 4 of 4 times
[Error ] Unable to update channel ard
[Critical] Generic syntax exception:
[Critical] message:
[Error ] no index page data received from ard
[Error ] unable to update channel, try again later
[ Info ] Existing guide data restored!
[ Debug ]
[ Debug ] 0 shows in 1 channels
[ Debug ] 0 updated shows
[ Debug ] 0 new shows added
[ Info ]
[ Info ]
[ ] Job finished at 29/03/2019 06:11:31 done in 0s

i think i have an problem to find the right index headers ?

Mainfranken TV

Forums: 

Hello another ini and another problem.
One day grab is OK they do what they have to do, but 2 days will be cracy.
I used data-timestamp for calculate the time.
The programm runs perfect, then they change

multiple entry of a show at 20190329000000 +0100
[ Info ] epg correction :
[ Info ] CHANGED show corrected,

each hour, and the result is that i get only one day :)

Is my urldate time OK?

Could also someone tell me STEP by STEP FAQ to get the right urldate? I can´t do nothing with the microsoft side from the FAQ.

alex-berlin.de need help for description and day

Forums: 

Hello,
i have created teh ini for alex-berlin.de. AT this time it runs but:

They don´t accept the urldate, at this time i can only grab when i write the date in the top of url index. I don´t know why?

Second, they don´t grab the descriptions, i also din´t know why.

Please give me some tips

Attachments: 

New ini files (sky.at)

Forums: 

Hi

Can you make a new ini files for this site please

https://www.sky.at/tvguide/

Thanks

Update tele.rtl.lu.ini

Forums: 

Hi

Can you update this file please.

Thanks

telerama.ini

Forums: 

Hi, I've some problems with telerama.ini for 2 weeks now. I've this error :

error downloading page: Error: SecureChannelFailure (The authentication or decryption has failed.)
pausing 1 of 4 times for 5 seconds before re-try.
error downloading page: Error: SecureChannelFailure (The authentication or decryption has failed.)
pausing 2 of 4 times for 10 seconds before re-try.
error downloading page: Error: SecureChannelFailure (The authentication or decryption has failed.)
pausing 3 of 4 times for 15 seconds before re-try.
error downloading page: Error: SecureChannelFailure (The authentication or decryption has failed.)
pausing 4 of 4 times for 20 seconds before re-try.
Unable to update channel SyFyFR
Generic syntax exception:
message:
no index page data received from SyFyFR
unable to update channel, try again later
Existing guide data restored!

I've done some researchs on this forum and I've found a topic related to a similar problem, but it did not solve my case. Maybe it's the ini file that is not good now ?

Thanks in advance for your help.

PS : I use WG++ 2.15 on a synology NAS.

mag.sapo.pt ini not grabbing the description.

Forums: 

Hi. The ini for mag.sapo.pt is not grabbing the description. Can you please help with this?
Thank you

Pages

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl