49 lines
2.4 KiB
INI
Executable File
49 lines
2.4 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
||
* @header_start
|
||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||
* @Site: superchannel.ca
|
||
* @MinSWversion: 1.1.1/56.25
|
||
* @Revision 0 - [19/06/2016] Blackbear199
|
||
* - creation
|
||
* @Remarks:
|
||
* @header_end
|
||
**------------------------------------------------------------------------------------------------
|
||
site {url=superchannel.ca|timezone=America/Toronto|maxdays=14|cultureinfo=en-CA|charset=UTF-8|titlematchfactor=90}
|
||
site {ratingsystem=CA|episodesystem=onscreen}
|
||
url_index{url|http://www.superchannel.ca/agenda?day=##day##&channel=|channel|&timezone=ET&month=##mth##}
|
||
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
||
urldate.format {datestring|yyyy-MM-dd}
|
||
*
|
||
scope.range{(urlindex)|end}
|
||
index_temp_1.modify {calculate(format=date,dd)|'urldate'}
|
||
index_temp_2.modify {calculate(format=date,MM)|'urldate'}
|
||
url_index.modify {replace|##day##|'index_temp_1'}
|
||
url_index.modify {replace|##mth##|'index_temp_2'}
|
||
end_scope
|
||
*
|
||
index_showsplit.scrub {multi|<ul class="sc-agenda-view-list">|<li>|</li>|</ul>}
|
||
*
|
||
index_start.scrub {single|<div class="agenda-view-time">| !??! |</span>|</div>}
|
||
index_title.scrub {single|<div class="agenda-view-title">|<span>|</span>|</a>}
|
||
index_description.scrub {single|<p class="agenda-view-syn">||</p>|</p>}
|
||
*
|
||
index_urlshow {url|http://www.superchannel.ca|<a href="||">|">}
|
||
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate}
|
||
*
|
||
title.scrub {single|<meta property="og:title" content="||" />|" />}
|
||
director.scrub {multi|<h4 class="talent-title">Director:</h4>|content="|"|</h4>}
|
||
actor.scrub {multi|<h4 class="talent-title" >Cast:</h4>|content="|"|</h4>}
|
||
rating.scrub {single|<meta itemprop="contentRating"|>|</h4>|</div>}
|
||
category.scrub {multi|<h4 class="program-genre-bar" itemprop="genre">|">|</a>|</h4>}
|
||
productiondate.scrub {single|<meta itemprop="copyrightYear"|>|</h4>|</div>}
|
||
country.scrub {single|<meta itemprop="countryOforigin"|>|</h4>|</div>}
|
||
*
|
||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||
**
|
||
** @auto_xml_channel_start
|
||
*index_site_id.scrub {|}
|
||
*index_site_id.modify {set|1\|2\|3\|4}
|
||
*index_site_channel.modify {set|Super Channel 1\|Super Channel 2\|Super Channel 3\|Super Channel 4}
|
||
** @auto_xml_channel_end
|