This commit is contained in:
freearhey
2021-03-09 22:46:37 +03:00
commit a597b11307
1377 changed files with 173563 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: sky.co.nz
* @MinSWversion: V1.57
* @Revision 0 - [01/12/2016] Blackbear199
* - creation
* @Remarks:
* @header_end
**------------------------------------------------------------------------------------------------
site {url=sky.co.nz|timezone=UTC|maxdays=12|cultureinfo=en-NZ|charset=UTF-8|titlematchfactor=90}
site {ratingsystem=NZ|episodesystem=onscreen}
*
url_index{url|https://www.sky.co.nz/search-service/rest/events?startTimestamp=##start##&endTimestamp=##end##&channelIds=|channel|}
*
urldate.format {datestring|yyyy-MM-dd}
*
scope.range{(urlindex)|end}
index_temp_1.modify {calculate(format=date,java)|'urldate'}
index_temp_2.modify {calculate(format=F0)|'index_temp_1' 86399999 +}
url_index.modify {replace|##start##|'index_temp_1'}
url_index.modify {replace|##end##|'index_temp_2'}
end_scope
*
index_showsplit.scrub {multi(debug)|{"events":[|{|}|]}}
scope.range{(splitindex)|end}
index_temp_1.modify {substring(type=regex)|'index_showsplit' "\"start\":(\d+),"}
index_temp_1.modify {cleanup(removeduplicates span =2 link="index_showsplit")}
end_scope
*
index_start.scrub {single|"start":||,|,}
index_stop.scrub {single|"end":||,|,}
index_title.scrub {single|"title":"||",|",}
index_description.scrub {single|"synopsis":"||",|",}
index_category.scrub {single(separator="/")|"genre":["||"]|"]}
index_rating.scrub {single|"rating":"||",|",}
index_episode.modify {substring(type=regex pattern="S'S1' E'E1'")|'index_description' "^S\d+ E\d+"}
index_description.modify {remove(type=regex)|^S\d+ E\d+\s+}
*
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
*url_index{url|https://www.sky.co.nz/tvguide}
*index_site_id.scrub {multi(exclude=last2)|channels: [|"number":"|"|notification: {}
*index_site_channel.scrub {multi(exclude=last2)|channels: [|"name":"|"|notification: {}
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
** @auto_xml_channel_end