**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: tvguide.co.uk * @MinSWversion: V1.1.1/54.1 * none * @Revision 10 - [08/09/2014] Jan van Straaten * complete remake: Single channel index page now available, loadcookie not required anymore * @Revision 9 - [04/04/2014] Willy De Wilde * additional separator in start * @Revision 8 - [20/03/2014] Willy De Wilde * Website change * @Revision 7 - [24/02/2014] Willy De Wilde * Use of main page - channel pages do not grab anymore * @Revision 6 - [16/12/2013] Francis De Paemeleere * adapted to site changes in the indexdetail pages * @Revision 5 - [17/11/2013] Jan van Straaten * adapted to site changes in the showdetail pages * @Revision 4 - [15/01/2013] Francis De Paemeleere * added new auto_xml_channel * @Revision 3 - [30/11/2011] Jan van Straaten * make producer multi value * @Revision 2 - [] * correction in description, adapted for 1.0.7 * @Revision 1 - [] * added producer, writer, episode , improved description, adapted for 1.0.5 * @Remarks: * none * @header_end **------------------------------------------------------------------------------------------------ site {url=tvguide.co.uk|timezone=Europe/London|maxdays=7|cultureinfo=en-US|charset=UTF-8|titlematchfactor=50} http://my.tvguide.co.uk/channellisting.asp?ch=74&cTime=9/7/2014 9:00:00 AM&thisTime=&thisDay= url_index{url|http://my.tvguide.co.uk/channellisting.asp?ch=|channel|&cTime=|urldate|} url_index.headers {customheader=Accept-Encoding=gzip,deflate} urldate.format {datestring|M/d/yyyy} index_showsplit.scrub {regex||(\d{1,2}\:\d{2}.{1}m
.+?)||} index_start.scrub {regex||(\d{1,2}\:\d{2}(?:am\|pm))||} index_title.scrub {regex||(.+?)
||} index_subtitle.scrub {regex||(.*?)||} index_subtitle.modify {remove|Category } index_description.scrub {regex||(.*?)
||} index_category.scrub {regex||Category (.*?)
||} index_temp_1.scrub {regex||(Season\s*?\d+?)\s*?||} index_episode.scrub {regex||(Episode\s*?\d+?\s*?of\s*?\d+?\s*?)||} index_episode.modify {addstart('index_temp_1' not "")|'index_temp_1', } index_episode.modify {remove(type=regex)|"(, \Z)"} index_starrating.scrub {regex||Rating
\s+?
(\d{1}.*?)||} * index_urlshow.scrub {regex||||} title.modify {cleanup(tags="<"">")} director.scrub {single(exclude="IMDB")|Director: ||
|
} director.modify {replace|,|\|} producer.scrub {single(exclude="IMDB")|Executive Producer: ||
|
} producer.scrub {single(exclude="IMDB")|Series Producer: ||
|
} producer.modify {replace|,|\|} writer.scrub {single(separator=", ")|Writer: ||
|
} writer.modify {replace|,|\|} actor.scrub {multi(exclude="IMDB")|Cast

|itemprop="name">||} productiondate.scrub {single|

} * in title title.modify {remove|('productiondate')} title.modify {cleanup} subtitles.scrub {regex||\(Subtitles\)||} subtitles.modify {substring(type=element)|0 1} * more than one, keep only one subtitles.modify {replace(not "")|'subtitles'|true} ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start * enable the following four lines to create a channel list file for only the selected files *url_index{url|http://www.tvguide.co.uk/} *index_site_channel.scrub {multi||