**------------------------------------------------------------------------------------------------ * @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|value='|'|} *index_site_id.modify {cleanup(style=urlencode)} *index_site_channel.scrub {multi|Select Channel|'>||} *index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")} ** @auto_xml_channel_end