Init
This commit is contained in:
71
siteini.pack/Kenya/gotvafrica.com.ke.ini
Executable file
71
siteini.pack/Kenya/gotvafrica.com.ke.ini
Executable file
@@ -0,0 +1,71 @@
|
||||
**------------------------------------------------------------------------------------------------
|
||||
* @header_start
|
||||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||||
* @Site: gotvafrica.com
|
||||
* @MinSWversion: 1.1.1/54
|
||||
* @Revision 0 - [03/05/2016] Blackbear199
|
||||
* - creation
|
||||
* @Remarks:
|
||||
* @header_end
|
||||
**------------------------------------------------------------------------------------------------
|
||||
site {url=gotvafrica.com|timezone=UTC+01:00|maxdays=14|cultureinfo=en-US|charset=UTF-8|titlematchfactor=90}
|
||||
site {ratingsystem=US|episodesystem=onscreen}
|
||||
url_index{url|http://kenya.gotvafrica.com/Whats-On/default.aspx}
|
||||
urldate.format {datestring|yyyy-MM-dd}
|
||||
*
|
||||
url_index.headers {method=POST}
|
||||
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
||||
url_index.headers {accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8}
|
||||
url_index.headers {contenttype=application/x-www-form-urlencoded; charset=utf-8}
|
||||
url_index.headers {postdata=ctl00%24ScriptManager1=ctl00%24ContentPlaceHolder1%24GetGOtvUpdatePanel%7Cctl00%24ContentPlaceHolder1%24ChannelJumpHiddenBtn&__EVENTTARGET=&__EVENTARGUMENT=&__VIEWSTATE='index_variable_element'&ctl00%24LanguageHidden=eng&ctl00%24CountryHidden=ke&ctl00%24CountryNameHidden=Kenya&ctl00%24txtsearch=&ctl00%24ContentPlaceHolder1%24WhatsOnHidden=2&ctl00%24ContentPlaceHolder1%24BouquetHidden3=&ctl00%24ContentPlaceHolder1%24BouquetNameHidden3=gotvplus&ctl00%24ContentPlaceHolder1%24BouquetDD=gotvplus&ctl00%24ContentPlaceHolder1%24DateDD='urldate'&ctl00%24ContentPlaceHolder1%24ChannelJumpHidden='index_temp_1'&ctl00%24ContentPlaceHolder1%24ChannelJumpNameHidden='index_temp_2'&__ASYNCPOST=true&ctl00%24ContentPlaceHolder1%24txthiddendate='urldate'&ctl00%24ContentPlaceHolder1%24txtPageNr=&ctl00%24ContentPlaceHolder1%24ChannelJumpHiddenBtn=}
|
||||
*
|
||||
scope.range{(urlindex)|end}
|
||||
index_temp_1.modify {set|'config_site_id'}
|
||||
index_temp_2.modify {substring(type=regex)|'index_temp_1' "(.+?)###"}
|
||||
index_temp_1.modify {remove|'index_temp_2'###}
|
||||
*
|
||||
index_variable_element.scrub {single|id="__VIEWSTATE"|value="|" />|" />}
|
||||
index_variable_element.modify {replace|+|%2B}
|
||||
index_variable_element.modify {replace|/|%2F}
|
||||
index_variable_element.modify {replace|$|%24}
|
||||
index_variable_element.modify {replace|=|%3D}
|
||||
index_variable_element.modify {replace|\||%7C}
|
||||
end_scope
|
||||
*
|
||||
index_showsplit.scrub {multi(debug)|class="nowShowingContainer"|<div class="nowShowingProgDetails">|</div>|<div class="hidden-xs col-lg-1">}
|
||||
*
|
||||
scope.range{(indexshowdetails)|end}
|
||||
index_start.scrub {single|<br />|<span style="color:#02b356;font-weight:bold;">|</span>|<br />}
|
||||
index_title.scrub {single|<p>|<span style="color:#02b356;font-weight:bold;">|</span>|<br />}
|
||||
index_description.scrub {single|<span class="synopsis">||</span>|</span>}
|
||||
index_showicon.scrub {single|<img src="||"|"}
|
||||
*
|
||||
index_temp_3.modify {substring(type=regex)|'index_description' "(\'.+?\'\.)"} *season/episode
|
||||
index_description.modify {remove|'index_temp_3'}
|
||||
index_temp_4.modify {substring(type=regex)|'index_temp_3' " - (.+?)\'\."}
|
||||
index_temp_3.modify {remove(type=regex)| - 'index_temp_4'\'\.}
|
||||
index_temp_3.modify {remove(type=regex)|\'}
|
||||
index_temp_3.modify {remove|/}
|
||||
index_temp_4.modify {clear(~ "/")}
|
||||
index_subtitle.modify {addstart|'index_temp_4'}
|
||||
index_episode.modify {addstart|'index_temp_3'}
|
||||
end_scope
|
||||
*
|
||||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||||
**
|
||||
* disable url_index.headers {method=POST} line above
|
||||
* disable url_index.headers {postdata= line above
|
||||
*
|
||||
** @auto_xml_channel_start
|
||||
*url_index.headers {method=POST_BACK}
|
||||
*
|
||||
*url_index.headers {postdata=ctl00%24ScriptManager1=ctl00%24ContentPlaceHolder1%24GetGOtvUpdatePanel%7Cctl00%24ContentPlaceHolder1%24WhatsOnHiddenBtn&__EVENTTARGET=&__EVENTARGUMENT=&__VIEWSTATE='index_variable_element'&ctl00%24LanguageHidden=eng&ctl00%24CountryHidden=ke&ctl00%24CountryNameHidden=Kenya&ctl00%24txtsearch=&ctl00%24ContentPlaceHolder1%24WhatsOnHidden=2&ctl00%24ContentPlaceHolder1%24BouquetHidden3=&ctl00%24ContentPlaceHolder1%24BouquetNameHidden3=gotvplus&ctl00%24ContentPlaceHolder1%24CHBouquetDD=gotvplus&ctl00%24ContentPlaceHolder1%24ChannelJumpHidden=&ctl00%24ContentPlaceHolder1%24ChannelJumpNameHidden=&__ASYNCPOST=true&ctl00%24ContentPlaceHolder1%24WhatsOnHiddenBtn=}
|
||||
*
|
||||
*scope.range{(channellist)|end}
|
||||
*index_site_id.scrub {multi|SelectChannel('||')|')}
|
||||
*index_site_id.modify {replace(type=regex)|\',\'|###}
|
||||
*index_site_channel.scrub {multi| <div class="tvGuideName">||</div>|</div>}
|
||||
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
||||
*end_scope
|
||||
** @auto_xml_channel_end
|
||||
60
siteini.pack/Kenya/kwese.com.channels.xml
Executable file
60
siteini.pack/Kenya/kwese.com.channels.xml
Executable file
@@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<site generator-info-name="WebGrab+Plus/w MDB & REX Postprocess -- version V2.0.6 -- Jan van Straaten" site="kwese.com">
|
||||
<channels>
|
||||
<channel update="i" site="kwese.com" site_id="Kwes%C3%A9_Info_L" xmltv_id="Kwesé Info">Kwesé Info</channel>
|
||||
<channel update="i" site="kwese.com" site_id="Kwes%C3%A9_Prime_L" xmltv_id="Kwesé Prime">Kwesé Prime</channel>
|
||||
<channel update="i" site="kwese.com" site_id="Kwes%C3%A9_Stories_L_0" xmltv_id="Kwesé Stories">Kwesé Stories</channel>
|
||||
<channel update="i" site="kwese.com" site_id="Kwes%C3%A9_Movies1_L" xmltv_id="Kwesé Movies1">Kwesé Movies1</channel>
|
||||
<channel update="i" site="kwese.com" site_id="Kwes%C3%A9_Movies2_L" xmltv_id="Kwesé Movies2">Kwesé Movies2</channel>
|
||||
<channel update="i" site="kwese.com" site_id="Kwes%C3%A9_Movies3_L" xmltv_id="Kwesé Movies3">Kwesé Movies3</channel>
|
||||
<channel update="i" site="kwese.com" site_id="AMC" xmltv_id="AMC">AMC</channel>
|
||||
<channel update="i" site="kwese.com" site_id="Viceland_0" xmltv_id="Viceland">Viceland</channel>
|
||||
<channel update="i" site="kwese.com" site_id="Passion" xmltv_id="Passion">Passion</channel>
|
||||
<channel update="i" site="kwese.com" site_id="AfricanMovieChannelSeries" xmltv_id="AfricanMovieChannelSeries">AfricanMovieChannelSeries</channel>
|
||||
<channel update="i" site="kwese.com" site_id="ZBollyNova" xmltv_id="ZBollyNova">ZBollyNova</channel>
|
||||
<channel update="i" site="kwese.com" site_id="ZBollyMovies" xmltv_id="ZBollyMovies">ZBollyMovies</channel>
|
||||
<channel update="i" site="kwese.com" site_id="AfricanMovieChannel_0" xmltv_id="AfricanMovieChannel">AfricanMovieChannel</channel>
|
||||
<channel update="i" site="kwese.com" site_id="TrueMovies_0" xmltv_id="TrueMovies">TrueMovies</channel>
|
||||
<channel update="i" site="kwese.com" site_id="CBSReality_0" xmltv_id="CBSReality">CBSReality</channel>
|
||||
<channel update="i" site="kwese.com" site_id="Kwese%CC%81_FreeSports_L_0_1" xmltv_id="Kwesé FreeSports">Kwesé FreeSports</channel>
|
||||
<channel update="i" site="kwese.com" site_id="Kwes%C3%A9_Sports1_L" xmltv_id="Kwesé Sports1">Kwesé Sports1</channel>
|
||||
<channel update="i" site="kwese.com" site_id="Kwes%C3%A9_Sports2_L" xmltv_id="Kwesé Sports2">Kwesé Sports2</channel>
|
||||
<channel update="i" site="kwese.com" site_id="ESPN" xmltv_id="ESPN">ESPN</channel>
|
||||
<channel update="i" site="kwese.com" site_id="NBATV_0" xmltv_id="NBATV">NBATV</channel>
|
||||
<channel update="i" site="kwese.com" site_id="ESportsTV" xmltv_id="ESportsTV">ESportsTV</channel>
|
||||
<channel update="i" site="kwese.com" site_id="LFCTV" xmltv_id="LFCTV">LFCTV</channel>
|
||||
<channel update="i" site="kwese.com" site_id="Kwes%C3%A9_Know_L" xmltv_id="Kwesé Know">Kwesé Know</channel>
|
||||
<channel update="i" site="kwese.com" site_id="Kwes%C3%A9_Inc_L" xmltv_id="Kwesé Inc">Kwesé Inc</channel>
|
||||
<channel update="i" site="kwese.com" site_id="Odisseia_0" xmltv_id="Odisseia">Odisseia</channel>
|
||||
<channel update="i" site="kwese.com" site_id="DTX_0" xmltv_id="DTX">DTX</channel>
|
||||
<channel update="i" site="kwese.com" site_id="AnimalPlanet" xmltv_id="AnimalPlanet">AnimalPlanet</channel>
|
||||
<channel update="i" site="kwese.com" site_id="DiscoveryScience_0" xmltv_id="DiscoveryScience">DiscoveryScience</channel>
|
||||
<channel update="i" site="kwese.com" site_id="IDX_0" xmltv_id="IDX">IDX</channel>
|
||||
<channel update="i" site="kwese.com" site_id="TravelChannel_0" xmltv_id="TravelChannel">TravelChannel</channel>
|
||||
<channel update="i" site="kwese.com" site_id="FLN_0" xmltv_id="FLN">FLN</channel>
|
||||
<channel update="i" site="kwese.com" site_id="FashionOne" xmltv_id="FashionOne">FashionOne</channel>
|
||||
<channel update="i" site="kwese.com" site_id="Kwes%C3%A9_Kids_L" xmltv_id="Kwesé Kids">Kwesé Kids</channel>
|
||||
<channel update="i" site="kwese.com" site_id="Dreamworks" xmltv_id="Dreamworks">Dreamworks</channel>
|
||||
<channel update="i" site="kwese.com" site_id="Pop" xmltv_id="Pop">Pop</channel>
|
||||
<channel update="i" site="kwese.com" site_id="JimJam_0" xmltv_id="JimJam">JimJam</channel>
|
||||
<channel update="i" site="kwese.com" site_id="Revolt" xmltv_id="Revolt">Revolt</channel>
|
||||
<channel update="i" site="kwese.com" site_id="TraceAfrica" xmltv_id="TraceAfrica">TraceAfrica</channel>
|
||||
<channel update="i" site="kwese.com" site_id="TraceMziki" xmltv_id="TraceMziki">TraceMziki</channel>
|
||||
<channel update="i" site="kwese.com" site_id="TraceGospel" xmltv_id="TraceGospel">TraceGospel</channel>
|
||||
<channel update="i" site="kwese.com" site_id="CNN_200px" xmltv_id="CNN">CNN</channel>
|
||||
<channel update="i" site="kwese.com" site_id="BBCWorldNews_0" xmltv_id="BBCWorldNews">BBCWorldNews</channel>
|
||||
<channel update="i" site="kwese.com" site_id="SkyNews" xmltv_id="SkyNews">SkyNews</channel>
|
||||
<channel update="i" site="kwese.com" site_id="TVCNews" xmltv_id="TVCNews">TVCNews</channel>
|
||||
<channel update="i" site="kwese.com" site_id="AfricaNews_0" xmltv_id="AfricaNews">AfricaNews</channel>
|
||||
<channel update="i" site="kwese.com" site_id="Aljazeera_0" xmltv_id="Aljazeera">Aljazeera</channel>
|
||||
<channel update="i" site="kwese.com" site_id="Bloomberg_0" xmltv_id="Bloomberg">Bloomberg</channel>
|
||||
<channel update="i" site="kwese.com" site_id="CNBCAfrica_200px_0" xmltv_id="CNBCAfrica">CNBCAfrica</channel>
|
||||
<channel update="i" site="kwese.com" site_id="France24" xmltv_id="France24">France24</channel>
|
||||
<channel update="i" site="kwese.com" site_id="DW_200px" xmltv_id="DW">DW</channel>
|
||||
<channel update="i" site="kwese.com" site_id="DoveTelevision_200px_0" xmltv_id="DoveTelevision">DoveTelevision</channel>
|
||||
<channel update="i" site="kwese.com" site_id="HillsongChannel_200px_0" xmltv_id="HillsongChannel">HillsongChannel</channel>
|
||||
<channel update="i" site="kwese.com" site_id="EWTN_200px_0" xmltv_id="EWTN">EWTN</channel>
|
||||
<channel update="i" site="kwese.com" site_id="FlowTV_200px_0" xmltv_id="FlowTV">FlowTV</channel>
|
||||
<channel update="i" site="kwese.com" site_id="Kwese_FreeSports_L" xmltv_id="Kwese FreeSports">Kwese FreeSports</channel>
|
||||
</channels>
|
||||
</site>
|
||||
85
siteini.pack/Kenya/kwese.com.ini
Executable file
85
siteini.pack/Kenya/kwese.com.ini
Executable file
@@ -0,0 +1,85 @@
|
||||
**------------------------------------------------------------------------------------------------
|
||||
* @header_start
|
||||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||||
* @Site: kwese.com
|
||||
* @MinSWversion: V1.1.1/56.29
|
||||
* @Revision 2 - [07/06/2017]
|
||||
* - Added new link
|
||||
* - Fixed Show scrubbing (start times are messed up on the index site, so we scrub them from detail page now with duration)
|
||||
* - Added episode system (even if the episodes fields are mostly empty yet)
|
||||
* - Added Rating
|
||||
* @Remarks: Some shows are not in order in XML, but will be displayed in order (tested only in KODI)
|
||||
*
|
||||
* @Revision 1 - [29/05/2017] Mat8861 & Blackbear199 *added retry
|
||||
* @Revision 0 - [22/05/2017] Mat8861 & Blackbear199
|
||||
* - creation
|
||||
* @Remarks:
|
||||
* @header_end
|
||||
**------------------------------------------------------------------------------------------------
|
||||
site {url=kwese.com|timezone=Africa/Johannesburg|maxdays=7|cultureinfo=af|charset=UTF-8|titlematchfactor=90|allowlastpageoverflow}
|
||||
site {retry=<retry time-out="30">4</retry>|keepindexpage}
|
||||
*
|
||||
*
|
||||
site {episodesystem=onscreen} *Enable for Onscreen Episode System
|
||||
*site {episodesystem=xmltv_ns} *Enable for xmltv_ns Episode System
|
||||
*
|
||||
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
||||
url_index{url|https://kwese.com/tvguide?field_category_value=All&field_category_value=All&field_listing_time_value2[value][date]=|urldate|&field_listing_time_value2[value][time]=06%3A00}
|
||||
*
|
||||
urldate.format {datestring|yyyy-MM-dd}
|
||||
*
|
||||
index_urlchannellogo.modify {addstart|https://kwese.com/sites/default/files/'index_variable_element'.png}
|
||||
*
|
||||
index_variable_element.modify {set|'config_site_id'}
|
||||
index_showsplit.scrub {multi(includeblock="'index_variable_element'.png")|<div class="listingChannel">|<a id="noStyle"|</a>|</table>}
|
||||
*
|
||||
index_urlshow {url|https://kwese.com|href='||' >}
|
||||
*
|
||||
*index_start.scrub {regex||<strong>(\d{2}:\d{2})</strong>||}
|
||||
index_title.scrub {regex||</p>(.*?)</div>||}
|
||||
index_title.scrub {cleanup}
|
||||
*
|
||||
start.scrub {regex||views-label-field-listing-time">Time</span>.*?dateTime" content="(.*?)">||}
|
||||
duration.scrub {regex||views-label-field-listing-time-3">Duration</span>.*?<div class="field-content">.*?(\d+:\d+)||
|
||||
title.scrub {regex||<span class="field-content">(.*?)</span>||}
|
||||
description.scrub {single|<div class="field-content">|<p>|</p>|</div>}
|
||||
rating.scrub {regex||Restriction(.*?)</div>||}
|
||||
rating.modify {cleanup(tags="<"">")}
|
||||
*
|
||||
temp_1.scrub {regex||views-label-field-season">(.*?)</div>||}
|
||||
|
||||
temp_1.modify {cleanup(tags="<"">")}
|
||||
|
||||
temp_2.scrub {regex||views-label-field-episode">(.*?)</div>||}
|
||||
|
||||
temp_2.modify {cleanup(tags="<"">")}
|
||||
|
||||
temp_2.modify {addstart('index_temp_1' not "")|'index_temp_1'}
|
||||
|
||||
episode.modify {set(pattern="Season'S1'Episode'E1'")|'index_temp_2'}
|
||||
|
||||
*****Enable for rating/episode/duration
|
||||
*rating.modify {addstart(not "")|Restriction: }
|
||||
*rating.scrub {single|content-rating">|<div class="field-content">|</div>|</div>}
|
||||
*episode.modify {addstart(not "")|Ep: }
|
||||
*episode.scrub {single|field-episode">|<div class="field-content">|</div>|</div>}
|
||||
*duration.scrub {regex||<div class="field-content">\s(\d{2}:\d{2})\smin</div>||} ***add duration to end of description**
|
||||
*description.modify {addend| Duration: 'duration' min.} ***add duration to end of description**
|
||||
*
|
||||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||||
**
|
||||
** @auto_xml_channel_start
|
||||
*url_index{url|https://kwese.com/tvguide}
|
||||
*index_site_channel.scrub {multi|<div class="listingChannel">|/public/|.png|</div>}
|
||||
*index_site_channel.modify {cleanup(style=urldecode)}
|
||||
*index_site_channel.modify {remove(type=regex)|_L*.$}
|
||||
*index_site_channel.modify {remove(type=regex)|_L_.*$}
|
||||
*index_site_channel.modify {remove(type=regex)|_L_*$}
|
||||
*index_site_channel.modify {remove(type=regex)|_200px.*$}
|
||||
*index_site_channel.modify {replace|_| }
|
||||
*index_site_id.scrub {multi|<div class="listingChannel">|/public/|.png|</div>}
|
||||
*scope.range {(channellist)|end}
|
||||
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
||||
*end_scope
|
||||
** @auto_xml_channel_end
|
||||
27
siteini.pack/Kenya/zuku.co.channels.xml
Executable file
27
siteini.pack/Kenya/zuku.co.channels.xml
Executable file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<site generator-info-name="WebGrab+Plus/w MDB & REX Postprocess -- version V1.56.23 -- Jan van Straaten" site="zuku.co">
|
||||
<channels>
|
||||
<channel update="i" site="zuku.co" site_id="BET" xmltv_id="BET">BET</channel>
|
||||
<channel update="i" site="zuku.co" site_id="Zuku+Nolly" xmltv_id="Zuku Nolly">Zuku Nolly</channel>
|
||||
<channel update="i" site="zuku.co" site_id="Viasat+Explore" xmltv_id="Viasat Explore">Viasat Explore</channel>
|
||||
<channel update="i" site="zuku.co" site_id="Nat+Geo+Gold" xmltv_id="Nat Geo Gold">Nat Geo Gold</channel>
|
||||
<channel update="i" site="zuku.co" site_id="CCTV+9+Documentary" xmltv_id="CCTV 9 Documentary">CCTV 9 Documentary</channel>
|
||||
<channel update="i" site="zuku.co" site_id="BBC+World+News" xmltv_id="BBC World News">BBC World News</channel>
|
||||
<channel update="i" site="zuku.co" site_id="TVC+News" xmltv_id="TVC News">TVC News</channel>
|
||||
<channel update="i" site="zuku.co" site_id="CCTV+News" xmltv_id="CCTV News">CCTV News</channel>
|
||||
<channel update="i" site="zuku.co" site_id="BabyTV" xmltv_id="BabyTV">BabyTV</channel>
|
||||
<channel update="i" site="zuku.co" site_id="Duck+TV" xmltv_id="Duck TV">Duck TV</channel>
|
||||
<channel update="i" site="zuku.co" site_id="Nickelodeon" xmltv_id="Nickelodeon">Nickelodeon</channel>
|
||||
<channel update="i" site="zuku.co" site_id="Ginx+TV" xmltv_id="Ginx TV">Ginx TV</channel>
|
||||
<channel update="i" site="zuku.co" site_id="Viasat+Crime" xmltv_id="Viasat Crime">Viasat Crime</channel>
|
||||
<channel update="i" site="zuku.co" site_id="CCTV-4+(Chinese)" xmltv_id="CCTV-4 (Chinese)">CCTV-4 (Chinese)</channel>
|
||||
<channel update="i" site="zuku.co" site_id="Hope+International" xmltv_id="Hope International">Hope International</channel>
|
||||
<channel update="i" site="zuku.co" site_id="Ahlulbayt+TV" xmltv_id="Ahlulbayt TV">Ahlulbayt TV</channel>
|
||||
<channel update="i" site="zuku.co" site_id="Life+Ok" xmltv_id="Life Ok">Life Ok</channel>
|
||||
<channel update="i" site="zuku.co" site_id="Star+Gold" xmltv_id="Star Gold">Star Gold</channel>
|
||||
<channel update="i" site="zuku.co" site_id="NDTV+Profit" xmltv_id="NDTV Profit">NDTV Profit</channel>
|
||||
<channel update="i" site="zuku.co" site_id="NDTV+24x7" xmltv_id="NDTV 24x7">NDTV 24x7</channel>
|
||||
<channel update="i" site="zuku.co" site_id="NDTV+Good+Times" xmltv_id="NDTV Good Times">NDTV Good Times</channel>
|
||||
<channel update="i" site="zuku.co" site_id="B4U+Music" xmltv_id="B4U Music">B4U Music</channel>
|
||||
</channels>
|
||||
</site>
|
||||
77
siteini.pack/Kenya/zuku.co.ini
Executable file
77
siteini.pack/Kenya/zuku.co.ini
Executable file
@@ -0,0 +1,77 @@
|
||||
**------------------------------------------------------------------------------------------------
|
||||
* @header_start
|
||||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||||
* @Site: zuku.co
|
||||
* @MinSWversion: 1.1.1/54
|
||||
* @Revision 0 - [16/06/2016] Blackbear199
|
||||
* - creation
|
||||
* @Remarks:
|
||||
* @header_end
|
||||
**------------------------------------------------------------------------------------------------
|
||||
site {url=zuku.co|timezone=UTC+03:00|maxdays=7|cultureinfo=en-GB|charset=UTF-8|titlematchfactor=90}
|
||||
*
|
||||
* timezone=UTC+03:00 Kenya(ke),Tanzania(tz) and Uganda(ug)
|
||||
* timezone=UTC+02:00 for Zambia(zm) and Malawi(mw)
|
||||
*
|
||||
site {ratingsystem=GB|episodesystem=onscreen}
|
||||
url_index{url|http://zuku.co.##country##/entertainment/tv-guide}
|
||||
urldate.format {datenumber|UNIX|0}
|
||||
*
|
||||
scope.range{(urlindex)|end}
|
||||
*
|
||||
* select your country from the list
|
||||
* coutry code
|
||||
* ke - Kenya
|
||||
* tz - Tanzania
|
||||
* ug - Uganda
|
||||
* mw - Malawi
|
||||
* zm - Zambia
|
||||
* edit line below with your country code, url_index.modify {replace|##country##|xx}. where xx is your country code.default is ke - Kenya
|
||||
*
|
||||
url_index.modify {replace|##country##|ke}
|
||||
end_scope
|
||||
*
|
||||
url_index.headers {method=POST}
|
||||
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
||||
url_index.headers {accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8}
|
||||
url_index.headers {contenttype=application/x-www-form-urlencoded}
|
||||
url_index.headers {postdata=dateFilter='urldate'&channelFilter='channel'&genreFilter=0}
|
||||
*
|
||||
index_showsplit.scrub {multi|timetable.addEvent|||var renderer}
|
||||
index_showsplit.modify {remove(type=regex)|, new Date\(\d{4},\d{2},\d{2},\d{2},\d{2}\), \'#\'}
|
||||
index_showsplit.modify {replace(type=regex)|\d{4}(,)\d{2}(,)|/}
|
||||
index_showsplit.modify {replace(type=regex)|\d{4}\/\d{2}\/\d{2}(,)| }
|
||||
index_showsplit.modify {replace(type=regex)|\d{4}\/\d{2}\/\d{2} \d{2}(,)\d{2}|:}
|
||||
*
|
||||
index_showsplit.modify {sort(ascending,string)}
|
||||
sort_by.scrub {single(target="index_showsplit")|new Date(||)|)}
|
||||
sort_by.modify {calculate(target="index_showsplit" format=date,unix)}
|
||||
*
|
||||
index_start.scrub {single(pattern'"yyyy,MM,dd,HH,mm")|new Date(||)|)}
|
||||
index_title.scrub {single|('||',|',}
|
||||
index_title.modify {remove|\}
|
||||
*
|
||||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||||
**
|
||||
** @auto_xml_channel_start
|
||||
*url_index{url|http://zuku.co.##country##/entertainment/tv-guide}
|
||||
*scope.range{(urlindex)|end}
|
||||
**
|
||||
** select your country from the list
|
||||
** coutry code
|
||||
** ke - Kenya
|
||||
** tz - Tanzania
|
||||
** ug - Uganda
|
||||
** mw - Malawi
|
||||
** zm - Zambia
|
||||
** edit line below with your country code, url_index.modify {replace|##country##|xx}. where xx is your country code.default is ke - Kenya
|
||||
**
|
||||
*url_index.modify {replace|##country##|ke}
|
||||
*end_scope
|
||||
**
|
||||
*index_site_id.scrub {multi|Select Channel</option>|value='|'|</select>}
|
||||
*index_site_id.modify {cleanup(style=urlencode)}
|
||||
*index_site_channel.scrub {multi|Select Channel</option>|'>|</option>|</select>}
|
||||
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
||||
** @auto_xml_channel_end
|
||||
Reference in New Issue
Block a user