**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: www.tm.com.my * @MinSWversion: 1.1.1/54 * @Revision 3 - [21/05/2015] Francis De Paemeleere * - try to reduce the memory footprint * - speed up by using keepindexpage * - create category pages (smaller memory footprint, but watch out for keepindexpage, see comments later on) * @Revision 2 - [20/05/2015] Francis De Paemeleere * - change to full page (and just keep index pages) * - change .channels.xml generation * @Revision 1 - [11/05/2013] Jan van Straaten * - added season * @Revision 0 - [30/04/2013] Jan van Straaten * - creation * @Remarks: Index_page grabbing very slow due to excessive data * @header_end **------------------------------------------------------------------------------------------------ * site {url=www.tm.com.my|timezone=UTC|maxdays=7|cultureinfo=en-GB|charset=utf-8|titlematchfactor=90|firstshow=1|nopageoverlaps|keepindexpage} site {episodesystem=onscreen} urldate.format {datestring|M/dd/yyyy} url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages *One page version (very large memory footprint) **>> url_index{url|http://www.tm.com.my/hypptv/Pages/livetv.aspx?Date=|urldate} **<< * Category page version **>> *url_index{url|https://www.tm.com.my/hypptv/Pages/live_tv_apekDev_ajax.aspx?Cat=##CAT##&Date=|urldate} * replace the category in the url * Remark: if you use this cateror page version, keep in mind that keepindexpage is enalbed! * so or: * - remove keepindexpage -> very slow download for all channels * or: * - make a copy of this .ini for every category you need **<< scope.range {(urlindex)|end} index_variable_element.modify {clear} index_variable_element.modify {addstart|'config_site_id'} index_variable_element.modify {substring(type=regex)|##Cat=([^#]*)} url_index.modify {replace|##CAT##|'index_variable_element'} * will do nothing in "One page version" end_scope scope.range {(datelogo)|end} index_variable_element.modify {clear} index_variable_element.modify {addstart|'config_site_id'} index_variable_element.modify {substring(type=regex)|##ID=([^#]*)} end_scope * *index_showsplit.scrub {multi|