**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: telkussa.fi * @MinSWversion: * @Revision 2 - [24/01/2018] * site change, data is now in json * @Revision 1 - [25/02/2016] * - creation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ site {url=telkussa.fi|timezone=WET|maxdays=14|cultureinfo=fi-FI|charset=UTF-8|titlematchfactor=90|episodesystem=xmltv_ns} url_index{url|http://telkussa.fi/API/Channel/|channel|/|urldate|} url_index.headers {accept=application/json,text/javascript|contenttype=application/json} url_index.headers {customheader=accept-encoding=gzip,deflate,br} urldate.format {datestring|yyyyMMdd} index_showsplit.scrub {regex||{(.+?)}||} index_showsplit.modify {cleanup(style=jsondecode)} index_title.scrub {regex||"name":"(.+?)","||} index_subtitle.scrub {regex||"episode":"(.*?)","||} index_description.scrub {regex||"description":"(.*?)","||} index_start.scrub {regex||"start":(.+?),||} index_start.modify {calculate(format=F0)|60 *} index_stop.scrub {regex||"stop":(.+?),||} index_stop.modify {calculate(format=F0)|60 *} index_rating.scrub {regex||"agelimit":(.+?),||} index_rating.modify {remove(type=regex)|^0$} index_starrating.scrub {regex||"agelimit":(.+?),||} index_starrating.modify {calculate(format=F1)|2 *} index_starrating.modify {calculate(format=F1)|10 /} index_starrating.modify {remove(type=regex)|^0\.0$} ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start ** the following lines create the channel file *url_index{url|http://telkussa.fi/kanava} *index_site_id.scrub {regex||
  • ]+>(.+?)||} *scope.range {(channellist)|end} *index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")} *end_scope ** @auto_xml_channel_end