**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: singteltv.com.sg * @MinSWversion: V2.1 * @Revision 3 - [21/11/2017] Blackbear199 * - site changes * @Revision 2 - [09/10/2017] Blackbear199 * - site changes * @Revision 1 - [07/12/2016] Blackbear199 * - extract season/episode from title * @Revision 0 - [28/04/2016] Blackbear199 * - creation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ site {url=singteltv.com.sg|timezone=Asia/Singapore|maxdays=7|cultureinfo=en-GB|charset=UTF-8|titlematchfactor=90|keepindexpage} site {ratingsystem=GB|episodesystem=onscreen} * url_index{url|http://www.singteltv.com.sg/epg/channel|urldate|.html} url_index.headers {customheader=Accept-Encoding=gzip,deflate} * urldate.format {datestring|yyyyMMdd} * index_variable_element.modify {set|'config_site_id'} index_urlchannellogo.modify {set|http://singteltv.com.sg/_channels/ico_ch'index_variable_element'.gif} * index_showsplit.scrub {multi|
|
  • |
  • |} scope.range{(splitindex)|end} index_temp_1.modify {substring(type=regex)|'index_showsplit' "(\d{2}:\d{2})<\/span>"} index_temp_1.modify {cleanup(removeduplicates span=1 link="index_showsplit")} *index_showsplit.modify {(debug)} end_scope * index_start.scrub {single||||} index_title.scrub {single||||} index_title.modify {cleanup(style=name)} * ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *index_site_id.scrub {multi|} *index_site_channel.scrub {multi|} *index_site_id.modify {cleanup(removeduplicates link="index_site_channel")} ** @auto_xml_channel_end