Files
epg/siteini.pack/UK/estuary.tv.ini
freearhey a597b11307 Init
2021-03-09 22:46:37 +03:00

49 lines
2.2 KiB
INI
Executable File

**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: estuary.tv
* @MinSWversion:
* @Revision 1 - [24/05/2017] Netuddki
* - Updated url
* @Revision 0 - [29/04/2017] Netuddki
* - creation
* @Remarks:
* @header_end
**------------------------------------------------------------------------------------------------
*
site {url=estuary.tv|timezone=Europe/London|maxdays=7.1|cultureinfo=en-GB|charset=UTF-8|titlematchfactor=90|nopageoverlaps}
site {ratingsystem=GB|firstshow=0|firstday=0123456}
*
site {episodesystem=onscreen} *Enable for Onscreen Episode System
*site {episodesystem=xmltv_ns} *Enable for xmltv_ns Episode System
*
url_index{url|http://estuary.tv/estuary-tv-schedule/}
url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages
urldate.format {datestring|yyyy-MM-dd}
index_showsplit.scrub {regex||<section class="item">(.*?)</li>||}
*
index_start.scrub {regex||<h2><strong>(\d+:\d+)</strong>||}
index_duration.scrub {regex||Duration.*?(\d+):||}
index_title.scrub {regex||<h2><strong>\d+:\d+</strong>\s.*?\s(.*?)</h2>||}
index_description.scrub{regex||<p>(.*?)</p>||}
index_productiondate.modify {substring(type=regex)|'index_description' "(\d{4}\.)"}
index_category.modify {substring(type=regex)|'index_description' "(.*?,) \d{4}\."}
index_episode.modify {substring(type=regex pattern="(Episode 'E1')""(Ep'E1'/'Et1')""(Ep 'E1')")|'index_description' "\(Episode \d+\)\|\(Ep\d+/\d+\)\|\(Ep \d+\)"}
*
index_description.modify {remove|'index_productiondate'}
index_description.modify {remove|'index_category'}
index_description.modify {remove|'index_episode'}
index_productiondate.modify {remove(type=regex)|(\.)}
index_category.modify {remove|,}
*
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
*index_site_id.scrub {|}
*index_site_id.modify {set|estuary}
*index_site_channel.modify {set|Estuary}
** @auto_xml_channel_end