**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: telkussa.fi * @MinSWversion: * @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=text/html,application/xhtml+xml,application/xml|contenttype=application/xml} url_index.headers {customheader=Accept-Encoding=gzip,deflate} urldate.format {datestring|yyyyMMdd} index_showsplit.scrub {regex||.+?||} index_start.scrub {regex||(\d+)||} index_start.modify {calculate(format=F0)|60 *} index_stop.scrub {regex||(\d+)||} index_stop.modify {calculate(format=F0)|60 *} index_title.scrub {regex||(.+?)||} index_description.scrub {regex||(.*?)||} index_description.scrub {regex||(.*?)||} index_description.modify {replace|\||. } index_rating.scrub {regex||(.*?)||} index_rating.modify {remove(type=regex)|^0$} index_starrating.scrub {regex||(.*?)||} 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