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 ?