**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: streamlive.to * @MinSWversion: * @Revision 0 - [12/11/2014] Jan van Straaten * - creation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ site {url=streamlive.to|timezone=US/Eastern|maxdays=7.1|cultureinfo=en-US|charset=UTF-8|titlematchfactor=90} url_index{url|http://www.streamlive.to/tv-ajax.php} *http://www.streamlive.to/tv-ajax.php scope.range {(urlindex)|end} index_variable_element.modify {addstart|'config_site_id'} end_scope url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages url_index.headers {method=POST} url_index.headers {contenttype=application/x-www-form-urlencoded; charset=UTF-8} url_index.headers {accept=*/*} url_index.headers {customheader=X-Requested-With=XMLHttpRequest} url_index.headers {referer=http://www.streamlive.to/tv-guide} url_index.headers {host=www.streamlive.to} url_index.headers {postdata=action=getchannelsched&id='index_variable_element'} index_showsplit.scrub {multi|
|||} index_start.scrub {regex||
.+?\d{4}, (\d{1,2}:\d{2} (?:am\|pm)).+?
||} index_stop.scrub {regex||
.+?\d{4}, \d{1,2}:\d{2} (?:am\|pm) - (\d{1,2}:\d{2} (?:am\|pm)).+?
||} index_title.scrub {regex||(.+?)||} index_description.scrub {regex||
(.+?)
||} ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *url_index{url|http://www.streamlive.to/tv-guide} *url_index.headers {method=GET} *index_site_channel.scrub {regex||||} *index_site_id.scrub {regex||||} *scope.range {(channellist)|end} *index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")} *end_scope ** @auto_xml_channel_end