48 lines
2.2 KiB
INI
Executable File
48 lines
2.2 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @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|<div class="row">|||}
|
|
|
|
index_start.scrub {regex||<div class="prog_time">.+?\d{4}, (\d{1,2}:\d{2} (?:am\|pm)).+?</div>||}
|
|
index_stop.scrub {regex||<div class="prog_time">.+?\d{4}, \d{1,2}:\d{2} (?:am\|pm) - (\d{1,2}:\d{2} (?:am\|pm)).+?</div>||}
|
|
index_title.scrub {regex||<span class="prog_name">(.+?)</span>||}
|
|
index_description.scrub {regex||<div class="prog_desc">(.+?)</div>||}
|
|
|
|
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### 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||<option value=\"\d{1,2}\">(.+?)</option>||}
|
|
*index_site_id.scrub {regex||<option value=\"(\d{1,2})\">.+?</option>||}
|
|
*scope.range {(channellist)|end}
|
|
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
|
*end_scope
|
|
** @auto_xml_channel_end
|