**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: telecom.kz * @MinSWversion: 1.1.1/54 * @Revision 0 - [18/05/2016] Blackbear199 * - creation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ site {url=telecom.kz|timezone=UTC+06:00|maxdays=6|cultureinfo=ru-RU|charset=UTF-8|titlematchfactor=90} site {ratingsystem=RU|episodesystem=onscreen|firstshow=2} url_index{url(debug)|http://telecom.kz/ru/ajax/services/get_info_channel} urldate.format {list|{datestring|dddd", "dd"."MM} urldate.modify {cleanup(scope=urlindex style=urlencode)} * url_index.headers {method=POST} url_index.headers {customheader=Accept-Encoding=gzip,deflate} url_index.headers {accept=application/json, text/javascript, */*; q=0.01} url_index.headers {contenttype=application/x-www-form-urlencoded; charset=UTF-8} url_index.headers {customheader=X-Requested-With=XMLHttpRequest} url_index.headers {postdata=value_id='channel'&day=%0A++++++++++++++++++++++++++++++++++++++++++++'urldate'%0A++++++++++++++++++++++++++++++++++++} * index_showsplit.scrub {multi|||<\/table>|
} index_showsplit.modify {cleanup(debug style=jsondecode)} index_showsplit.modify {substring(debug type=regex)|""} * index_urlchannellogo {url|||\">} index_urlchannellogo.modify {remove|\} * index_start.scrub {regex||(\d{2}:\d{2})\s\d{2}:\d{2}||} *index_stop.scrub {regex||\d{2}:\d{2}\s(\d{2}:\d{2})||} index_title.scrub {multi(includeblock=1)||||} * ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start * *url_index{url|http://telecom.kz/ru/ajax/services/get_channel} *url_index.headers {postdata=value_id='subpage'&packchannel_id=1} *subpage.format {list|1|2|3|4|5|6|7|8|9|10} *index_site_id.scrub {|} *index_temp_9.scrub {multi||||} *index_temp_9.modify {cleanup(style=jsondecode)} *index_site_id.modify {substring(type=regex)|'index_temp_9' "\"id\":(.+?),"} *index_site_channel.modify {substring(type=regex)|'index_temp_9' "\"name\":\"(.*?)\"\}"} ** @auto_xml_channel_end