**------------------------------------------------------------------------------------------------ * @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||
(.*?)||} * index_start.scrub {regex||

(\d+:\d+)||} index_duration.scrub {regex||Duration.*?(\d+):||} index_title.scrub {regex||

\d+:\d+\s.*?\s(.*?)

||} index_description.scrub{regex||

(.*?)

||} 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