41 lines
2.0 KiB
INI
Executable File
41 lines
2.0 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: travelchannel.co.uk
|
|
* @MinSWversion:
|
|
* @Revision 0 - [24/07/2017] mat8861
|
|
* - creation
|
|
* @Remarks:
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
*
|
|
site {url=travelchannel.co.uk|timezone=UTC|maxdays=7|cultureinfo=en-GB|charset=UTF-8|titlematchfactor=90}
|
|
site {episodesystem=onscreen}
|
|
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
|
*
|
|
url_index {url|http://www.travelchannel.co.uk/tv-guide/|urldate|}
|
|
urldate.format {datestring|dd-MM-yyyy}
|
|
index_urlshow {url|http://www.travelchannel.co.uk|<a href="||" class="link">}
|
|
*
|
|
index_urlchannellogo.modify {addstart|http://www.travelchannel.co.uk/img/logos/logo-en.svg}
|
|
index_showsplit.scrub {multi|<div class="section|<li>|</li>|<hr/>}
|
|
index_start.scrub {regex||<span class="time">(\d{2}:\d{2})</span>||}
|
|
index_title.scrub {regex||<span class="title">(.*?)</span>||}
|
|
index_subtitle.scrub {regex||<span class="sub-title">(.*?)</span>||}
|
|
index_description.scrub {regex||<span class="description">(.*?)<span class=||}
|
|
index_episode.scrub {single(pattern="Series 'S1' - Ep.'E1'")|<span class=|"version">|</span>|</span>}
|
|
*
|
|
title.scrub {single|<h2>||</h2>}
|
|
description.scrub {single|<div class="padding margin-bottom">||</div>}
|
|
description.modify {cleanup}
|
|
showicon.scrub {single|<div class="s-12 l-12 padding margin-bottom">|<img src="|"|>|</div>}
|
|
*
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*url_index {url|http://www.travelchannel.co.uk/tv-guide/}
|
|
*index_site_id.scrub {single|setDomainName', '.||']);}
|
|
*index_site_channel.scrub {single|<title>||\| TV Guide</title>}
|
|
** @auto_xml_channel_end
|