url**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: canada.com * @MinSWversion: 1.1.1/55.11 * @Revision 2 - [21/01/2015] Jan van Straaten * - improved channellist , accepts complex numerical site_id like 51-1 * @Revision 1 - [09/01/2015] Jan van Straaten * - complete new creation * @Remarks: Makes use of the times from showdetail page option of 55.11 * @header_end **------------------------------------------------------------------------------------------------ site {url=canada.com|timezone=US/Eastern|maxdays=8|cultureinfo=en-CA|charset=iso-8859-1|titlematchfactor=0|ratingsystem=CBSC} site {loadcookie=canada.com_cookies.txt} scope.range {(urlindex)|end} index_variable_element.modify {calculate(format=date,unix)|'urldate'} subpage.format {list(step=43200 count=2)|'index_variable_element'} * 12 hour steps ---> set wd=1905 url_index{url()|http://tvmds.tvpassport.com/snippet/white_label/php/grid.php?subid=tvpassport&lang=en&lu=6147&tz=US/Eastern&items=90&sess=4E4C4D36E4C86977A0B6D276886A11AE&st=|subpage|&wd=1905} url_index.headers {customheader=Accept-Encoding=gzip,deflate}* to speedup the downloading of the index pages end_scope * the url from IE Dev tools: http://tvmds.tvpassport.com/snippet/white_label/php/grid.php?subid=tvpassport&mode=json&lang=en&lu=6147&tz=America%2FToronto&items=90&sess=4E4C4D36E4C86977A0B6D276886A11AE&st=&wd=940&nc=0&div=tvmds_frames&si=0&callback=jsonp1420552422682 scope.range {(datelogo)|end} index_variable_element.modify {clear} index_variable_element.modify {addstart|\'tvm_chan_'config_site_id'\'} end_scope scope.range {(splitindex)|end} index_showsplit.scrub {multi(include='index_variable_element')|
" include=first)|
||
|} description.modify {cleanup(tags="<"">")} rating.scrub {single|Rating|tvm-program-details">||} actor.scrub {regex()||(.+?)
Cast||}
director.scrub {regex||
([^<]*)
Director||}
category.scrub {single|Genre|tvm-program-details">||}
productiondate.scrub {single|Year|