**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: thelatest.co.uk * @MinSWversion: * @Revision 0 - [28/04/2017] Netuddki * - creation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ * site {url=thelatest.co.uk|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://thelatest.co.uk/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_director.modify {substring(type=regex)|'index_description' "Director:(.*?\.)\|Directed by(.*?\.\s)Stars\|Directed by:(.*?\s)Stars\|Directed by:(.*?\.)\|Directed by(.*?\.)\|Directed by(.*?)and\|directed by(.*?)and"} index_category.modify {substring(type=regex 'index_description' not ~ "Filmed in")|'index_description' "\d{4}\.(.*?\.)"} index_writer.modify {substring(type=regex)|'index_description' "and\sscreenplay\sby(.*?\.)\|screenplay\sby(.*?\.)"} index_actor.modify {substring(type=regex)|'index_description' "Stars:(.*?\.)\|Stars(.*?\.)\|starring(.*?\.)"} index_episode.modify {substring(type=regex pattern="(S'S1', E'E1')")|'index_description' "\(S\d+\, E\d+\)"} * index_description.modify {remove(type=regex)|('index_productiondate')} index_description.modify {remove(type=regex)|(Filmed in)} index_description.modify {remove(type=regex)|('index_category')} index_description.modify {remove(type=regex)|('index_episode')} index_description.modify {remove(type=regex)|(Director:.*?\.)\|(Directed by.*?\.\s)Stars\|(Directed by:.*?\s)Stars\|(Directed by:.*?\.)\|(Directed by.*?\.)\|(Directed by.*?and)\|(directed by.*?and)} index_description.modify {remove(type=regex)|(Stars:.*?\.)\|(Stars.*?\.)\|(starring.*?\.)} index_description.modify {remove(type=regex)|(screenplay\sby.*?\.)} index_description.modify {cleanup} index_productiondate.modify {remove(type=regex)|(\.)} index_category.modify {remove(type=regex)|(\.)\|(Directed by.*)\|(directed by.*)\|([Ss]tarring.*)} index_category.modify {cleanup} index_director.modify {remove(type=regex)|(\.)} index_writer.modify {remove(type=regex)|(\.)} index_actor.modify {remove(type=regex)|(\.)} ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *index_site_id.scrub {|} *index_site_id.modify {set|thelatest} *index_site_channel.modify {set|The Latest} ** @auto_xml_channel_end