**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: mncvision.id * @MinSWversion: V1.57 * @Revision 4 - [17/03/2017] Blackbear199 * - site changes * @Revision 3 - [03/09/2015] Francis De Paemeleere * - new site implementation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ site {url=mncvision.id|timezone=Asia/Jakarta|maxdays=30|cultureinfo=id-ID|charset=ISO-8859-1|titlematchfactor=90|episodesystem=onscreen} url_index{url|http://www.mncvision.id/schedule/table} url_index.headers {customheader=Accept-Encoding=gzip,deflate} url_index.headers {method=POST} url_index.headers {referer=http://www.mncvision.id/schedule/table} url_index.headers {postdata=search_model=channel&af0rmelement=aformelement&fdate='urldate'&fchannel='channel'&submit=Cari} urldate.format {datestring|yyyy-MM-dd} index_showsplit.scrub {multi|class="table table-striped table-bordered table-hover table-condensed"|||} index_start.scrub {multi(includeblock=1)||||} index_duration.scrub {multi(includeblock=2)||||} index_title.scrub {regex||(.*?)||} index_urlshow {url||]*>} index_episode.modify {substring(pattern="S'S1', Ep 'E1'"", Ep 'E1'" type=regex)|'index_title' "((?:S\d+)?,\sEp\s\d+)$"} index_title.modify {remove(type=regex)|"((?:S\d+)?,\sEp\s\d+)$"} title.scrub {regex||class='page-header title text-info program-title'[^>]*>([^<]*)]*>([^<]*)]*>} title.modify {remove(type=regex)|"((?:S\d+)?,\sEp\s\d+)$"} description.modify {replace|
|\n} * alternative: places other language on a new line description.modify {cleanup} description.modify {clear("-")} ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *url_index{url|http://www.mncvision.id/schedule} *url_index.headers {method=GET} *index_site_id.scrub {multi|||} *index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")} ** @auto_xml_channel_end