47 lines
2.1 KiB
INI
Executable File
47 lines
2.1 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @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|<div class="s-wrapper hide ch-'index_variable_element'">|<li>|</li>|</ul>}
|
|
scope.range{(splitindex)|end}
|
|
index_temp_1.modify {substring(type=regex)|'index_showsplit' "<span class=\"li-time\">(\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|<span class="li-time">||</span>|</span>}
|
|
index_title.scrub {single|<span class="li-title">||</span>|</span>}
|
|
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|<ul id="submenu">|href="/programme-guide_channel.asp?ch=|"|</ul>}
|
|
*index_site_channel.scrub {multi|<ul id="submenu">|target="_parent">|</a>|</ul>}
|
|
*index_site_id.modify {cleanup(removeduplicates link="index_site_channel")}
|
|
** @auto_xml_channel_end
|