43 lines
1.8 KiB
INI
Executable File
43 lines
1.8 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: mhopetv.org
|
|
* @MinSWversion:
|
|
* @Revision 1 - [01/07/2017] Netuddki
|
|
* - Fixed grabbing only 1 day
|
|
* @Revision 0 - [29/05/2017] Netuddki
|
|
* - create
|
|
* @Remarks: n/a
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
|
|
site {url=hopetv.org|timezone=UTC|maxdays=7|cultureinfo=en-US|charset=UTF-8|titlematchfactor=90}
|
|
*site {ratingsystem=US}
|
|
*
|
|
*site {episodesystem=onscreen} *Enable for Onscreen Episode System
|
|
site {episodesystem=xmltv_ns} *Enable for xmltv_ns Episode System
|
|
*
|
|
url_index{url(debug)|http://www2.hopetv.org/watch/program-guide/bc//|urldate|///////18/|channel|/}
|
|
urldate.format {datenumber|UNIX|0}
|
|
*
|
|
index_showsplit.scrub {regex||<td class="now">(.*?)</tr>||}
|
|
*
|
|
*
|
|
index_start.scrub {regex||<td class="time">(\d+:\d+\s[AP]M)||}
|
|
*
|
|
index_title.scrub {regex||<a href=".*?<a href=".*?">(.*?)<br />||}
|
|
index_subtitle.scrub {regex||<span class="normal">(.*?)</span>||}
|
|
*
|
|
index_episode.modify {substring(type=regex pattern="Episode #'E1'""# 'E1' -""# 'E1'")|'index_subtitle' "Episode #\d+\|# \d+ -\|# \d+"}
|
|
index_subtitle.modify {remove|'index_episode'}
|
|
*
|
|
*
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*url_index{url|http://www2.hopetv.org/watch/program-guide/bc/}
|
|
*index_site_id.scrub {multi(include=last3)|<select id="tx_amsbroadcast_pi2_channel"|<option value="|"|</select>}
|
|
*index_site_channel.scrub {multi(include=last3)|<select id="tx_amsbroadcast_pi2_channel"|">|</option>|</select>}
|
|
** @auto_xml_channel_end
|