Init
This commit is contained in:
58
siteini.pack/South Africa/dstv.com.simple.ini
Executable file
58
siteini.pack/South Africa/dstv.com.simple.ini
Executable file
@@ -0,0 +1,58 @@
|
||||
**------------------------------------------------------------------------------------------------
|
||||
* @header_start
|
||||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||||
* @Site: dstv.com
|
||||
* @MinSWversion: V1.1.1/47
|
||||
* none
|
||||
* @Revision 4 - [05/06/2013] Francis De Paemeleere
|
||||
* adding rating
|
||||
* totaly re-written description parsing
|
||||
* @Revision 3 - [04/06/2013] Francis De Paemeleere
|
||||
* small adjustments to 'new' site implementation
|
||||
* @Revision 2 - [07/03/2013] Francis De Paemeleere
|
||||
* small adjustments to 'new' site implementation
|
||||
* @Revision 1 - [20/11/2011] Jan van Straaten
|
||||
* completely new, due to site change
|
||||
* @Remarks:
|
||||
* simple version, leaves description 'as' scrubbed
|
||||
* @header_end
|
||||
**------------------------------------------------------------------------------------------------
|
||||
|
||||
site {url=dstv.com|timezone=UTC+00:00|maxdays=6|cultureinfo=en-GB|charset=ISO-8859-1|titlematchfactor=90}
|
||||
site {loadcookie=dstv.cookies.txt|subtitlestype=deaf-signed}
|
||||
url_index{url(debug)|http://mobi.dstv.com/guide/|channel|/|urldate}
|
||||
*http://mobi.dstv.com/guide/89/0
|
||||
urldate.format {daycounter|0}
|
||||
*
|
||||
index_showsplit.scrub {multi()|<div class="ui-listings">|class="ui-listing||<!-- end .ui-listings -->}
|
||||
*
|
||||
index_start.scrub {single|<span class="ui-time">||</span>|</span>}
|
||||
index_title.scrub {single|<h4 class="ui-title">||</h4>|</h4>}
|
||||
index_description.scrub {single|<p class="ui-synopsis">||</p>|</p>}
|
||||
*
|
||||
scope.range{(indexshowdetails)|end}
|
||||
index_subtitles.modify {addstart('index_description' ~ "HI Subtitles")|true}
|
||||
index_description.modify {remove|HI Subtitles,}
|
||||
index_description.modify {remove|HI Subtitles}
|
||||
index_description.modify {remove| , }
|
||||
index_description.modify {remove| . }
|
||||
index_description.modify {replace|..|.}
|
||||
index_description.modify {cleanup}
|
||||
end_scope
|
||||
|
||||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||||
**
|
||||
** @auto_xml_channel_start
|
||||
** example of one entry <option value="89">101 M-Net</option>
|
||||
*scope.range {(channellist)|end}
|
||||
*url_index{url|http://mobi.dstv.com/guide}
|
||||
*index_site_channel.scrub {multi|id="guide-channel"|">|</option>|</select>}
|
||||
*index_site_id.scrub {multi(exclude="select ")|id="guide-channel"|value="|"|</select>}
|
||||
** remove the first entry (=Select a channel)
|
||||
*index_site_id.modify {remove(type=element)|0 1}
|
||||
*index_site_channel.modify {remove(type=element)|0 1}
|
||||
** remove the 101 value in front of the channel name
|
||||
*index_site_channel.modify {remove(type=word)|0 1}
|
||||
*end_scope
|
||||
** @auto_xml_channel_end
|
||||
Reference in New Issue
Block a user