**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: ncplus.pl
* @MinSWversion:
* @Revision 0 - [20/02/2016] 1NSdbZVbpZDX
* - creation
* @Remarks:
* @header_end
**------------------------------------------------------------------------------------------------
site {url=ncplus.pl|timezone=UTC+01:00|maxdays=7.1|cultureinfo=pl-PL|charset=UTF-8|titlematchfactor=90|nopageoverlaps}
*site {ratingsystem=ES|episodesystem=onscreen|grabengine=|firstshow=0|firstday=0000000}
urldate.format {daycounter|0}
*subpage.format {number||1|}
url_index{url |http://ncplus.pl/program-tv/|channel|}
url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages
scope.range {(splitindex)|end}
index_showsplit.scrub {multi |
|
|}
index_showsplit.modify {sort(ascending,string)}
sort_by.scrub {regex (target="index_showsplit")index_showsplit.modify {sort(ascending,string)}||data-id="(\d+)"||}
index_date.scrub {multi (include=first)||||}
index_start.scrub {regex ||(\d{2}:\d{2})||}
index_stop.scrub {regex (pattern=”H:m”)||(\d{2}:\d{2})<\/span>||}
index_title.scrub {single (separator=":" include=first)||||}
index_subtitle.scrub {single (separator=":" exclude=first)||||}
*index_urlchannellogo {url| }
end_scope
index_urlshow {url |http://ncplus.pl|}
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the detail pages
title.scrub {single (separator=":" include=first)||
|}
subtitle.scrub {single (separator=":" exclude=first)||
|}
titleoriginal.scrub {single|movie-spec">|itemprop="name">||}
description.scrub {single |itemprop="description">|||}
*director.scrub {single|}
actor.scrub {multi |Obsada:|itemprop="name">||}
*presenter.scrub {single|}
*producer.scrub {single|}
*writer.scrub {single|}
*composer.scrub {single|}
*rating.scrub {multi|}
*ratingicon.scrub {multi|}
*category.scrub {single|}
productiondate.scrub {single|movie-spec">| \|| \|}
*starrating.scrub {single|}
*episode.scrub {single|}
*subtitles.scrub {single|}
*premiere.scrub {single|}
*previousshown.scrub {single|}
*
* operations:
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
*url_index{url|http://ncplus.pl/program-tv}
*index_site_id.scrub {multi||}
*index_site_channel.scrub {multi||class="name-link">||}
*scope.range {(channellist)|end}
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
end_scope
** @auto_xml_channel_end