52 lines
2.3 KiB
INI
Executable File
52 lines
2.3 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: nottstv.com
|
|
* @MinSWversion: V1.1.1/56.29
|
|
* @Revision 2 - [29/05/2017] Netuddki
|
|
* - Deleted Firstshow/Firstday, because the first day is always today
|
|
* @Revision 1 - [28/05/2017] Netuddki
|
|
* - Added episode System
|
|
* - Fixed start time
|
|
* - Fixed first show
|
|
* - Refined subtitle
|
|
* @Revision 0 - [26/05/2017] Mat8861 & Blackbear199
|
|
* - creation
|
|
* @Remarks:
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
site {url=nottstv.com|timezone=Europe/London|maxdays=7.1|cultureinfo=en-GB|charset=UTF-8|nopageoverlaps|titlematchfactor=90}
|
|
site {ratingsystem=GB}
|
|
*
|
|
site {episodesystem=onscreen} *Enable for Onscreen Episode System
|
|
*site {episodesystem=xmltv_ns} *Enable for xmltv_ns Episode System
|
|
*
|
|
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
|
url_index {url|https://nottstv.com/whats-on/}
|
|
*
|
|
index_showsplit.scrub {multi|<div class="headerschedule">|<div class="programmetime">||<!-- /.td-pb-row -->}
|
|
*
|
|
index_urlchannellogo.modify {addstart|https://nottstv.com/wp-content/uploads/2016/01/ntvLogoRetina.png}
|
|
*
|
|
index_start.scrub {regex||<div class="phour">(.*?)<div class="pduration">||}
|
|
index_start.modify {cleanup(tags="<"">")}
|
|
*
|
|
index_title.scrub {regex||ptitle">(.*?)</h2>||}
|
|
index_subtitle.scrub {regex||psubtitle">(.*?)</p>||}
|
|
index_description.scrub {regex||pdescription">(.*?)</p>||}
|
|
*
|
|
index_episode.modify {substring(type=regex pattern="Season 'S1' Episode 'E1'""Episode 'E1'")|'index_subtitle' "Season \d+ Episode \d+\|Episode \d+"}
|
|
index_subtitle.modify {remove|'index_episode'}
|
|
index_subtitle.modify {remove|'index_title'}
|
|
index_subtitle.modify {remove(type=regex)|\.\d+}
|
|
index_subtitle.modify {remove(type=regex)|(-\s).*}
|
|
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*url_index{url|https://nottstv.com/whats-on/}
|
|
*index_site_id.scrub {single|<meta property="og:url"|content="https://|.com/whats-on/"|/>}
|
|
*index_site_channel.scrub{single|<img class="td-retina-data"|alt="|" title="|</a>}
|
|
* @auto_xml_channel_end
|