41 lines
1.9 KiB
INI
Executable File
41 lines
1.9 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
||
* @header_start
|
||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||
* @Site: toptv.co.za
|
||
* @MinSWversion: V0
|
||
* none
|
||
* @Revision 3 - [30/04/2016] Blackbear199
|
||
* site changes
|
||
* @Revision 2 - [29/03/2012] Jan van Straaten
|
||
* Small site changes
|
||
* @Remarks:
|
||
* none
|
||
* @header_end
|
||
**------------------------------------------------------------------------------------------------
|
||
|
||
site {url=toptv.co.za|timezone=UTC+02:00|maxdays=7|cultureinfo=en-ZA|charset=UTF-8|titlematchfactor=90}
|
||
site {ratingsystem=ZA}
|
||
url_index{url|http://starsat.co.za/channels/|channel|?date=|urldate|#tv-guide}
|
||
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
||
urldate.format {datestring|yyyy-MM-dd}
|
||
index_showsplit.scrub {multi|<!-- // Feature -->|<!-- // Card -->|<!-- // Contents -->|<!-- // TV Guide -->}
|
||
*
|
||
index_start.scrub {multi(separator=" – " include=first|<span class="info info-time">||</span>|</span>}
|
||
index_stop.scrub {multi(separator=" – " include=last|<span class="info info-time">||</span>|</span>}
|
||
*
|
||
index_title.scrub {single|<a class="info info-title">||</a>|</a>}
|
||
index_description.scrub {single|<div class="card-contents" title="||">|">}
|
||
*
|
||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||
**
|
||
** @auto_xml_channel_start
|
||
*url_index{url|http://starsat.co.za/tv-guide/channels.json?date=|urldate|&package=&genre=&page=|subpage|&sort=numerical
|
||
*subpage.format {list|0|1|2|3|4|5|6|7|8}
|
||
*index_site_id.scrub {|}
|
||
*index_temp_9.scrub {multi(debug includeblock="background_colour")|{||}|}|}}
|
||
*index_site_id.modify {substring(type=regex)|'index_temp_9' "channels\\/(.+?)#feature"}
|
||
*index_site_channel.modify {substring(type=regex)|'index_temp_9' "\"title\":\"(.*?)\","}
|
||
** @auto_xml_channel_end
|
||
|