Init
This commit is contained in:
52
siteini.pack/Canada/sho.com.ini
Executable file
52
siteini.pack/Canada/sho.com.ini
Executable file
@@ -0,0 +1,52 @@
|
||||
**------------------------------------------------------------------------------------------------
|
||||
* @header_start
|
||||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||||
* @Site: sho.com
|
||||
* @MinSWversion: 1.1.1/56.25
|
||||
* @Revision 0 - [22/06/2016] Blackbear199
|
||||
* - creation
|
||||
* @Remarks:
|
||||
* @header_end
|
||||
**------------------------------------------------------------------------------------------------
|
||||
site {url=sho.com|timezone=UTC|maxdays=30|cultureinfo=en-CA|charset=UTF-8|titlematchfactor=90}
|
||||
site {ratingsystem=CA|episodesystem=onscreen}
|
||||
url_index{url|http://www.sho.com/schedule/grid.json?date=|urldate|}
|
||||
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
||||
urldate.format {datestring|yyyy-MM-dd}
|
||||
*
|
||||
index_variable_element.modify {set|'config_site_id'}
|
||||
index_showsplit.scrub {multi|{"channelId":'index_variable_element'|{|}|]}
|
||||
index_showsplit.modify {cleanup(removeduplicates=equal,100)}
|
||||
*
|
||||
index_urlshow {url|http://www.sho.com|"cta":"||"|"}
|
||||
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate}
|
||||
*
|
||||
index_start.scrub {single|"startAiringDateTime":||,|,}}
|
||||
index_stop.scrub {single|"endAiringDateTime":|||}
|
||||
index_title.scrub {single|"title":"||"|"}
|
||||
index_subtitle.scrub {single|"subTitle":"||"|"}
|
||||
*index_description.scrub {single|"description":"||"|"}
|
||||
*
|
||||
index_episode.modify {substring(type=regex)|'index_subtitle' ".*?:*E\d+"}
|
||||
index_subtitle.modify {clear('index_episode')}
|
||||
*
|
||||
title.scrub {single|<h1 class="hero__headline">||</h1>|</h1>}
|
||||
description.scrub {single|<p class="hero__description">||</p>|</p>}
|
||||
director.scrub {multi|<dt class="metadata__key">Directed by</dt>|<dd class="metadata__value">|</dd>|Genre}
|
||||
actor.scrub {multi|<dt class="metadata__key">Cast</dt>|value--multi-key">|</dt>|</section>}
|
||||
writer.scrub {multi|<dt class="metadata__key">Written by</dt>|<dd class="metadata__value">|</dd>|Directed by}
|
||||
rating.scrub {single|<dt class="metadata__key">Rating</dt>|<dd class="metadata__value">|</dd>|</section>}
|
||||
category.scrub {multi|<span class="capitalize">||</span>|</span>}
|
||||
productiondate.scrub {single|<dt class="metadata__key">Released</dt>|<dd class="metadata__value">|</dd>|</section>}
|
||||
*
|
||||
category.modify {remove|,}
|
||||
category.modify {cleanup(style=name)}
|
||||
*
|
||||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||||
**
|
||||
** @auto_xml_channel_start
|
||||
*index_site_id.scrub {multi|"channelId":||,|,}
|
||||
*index_site_channel.scrub {multi|"channelName":"||"|"}
|
||||
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
||||
** @auto_xml_channel_end
|
||||
Reference in New Issue
Block a user