**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: htvonline.com.vn * @MinSWversion: 1.1.1/54 * @Revision 0 - [04/06/2016] Blackbear199 * - creation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ site {url=htvonline.com.vn|timezone=UTC+07:00|maxdays=7|cultureinfo=vi-VN|charset=UTF-8|titlematchfactor=90} site {ratingsystem=VN|episodesystem=onscreen} url_index{url|http://htvonline.com.vn/livetv/show-schedule} urldate.format {datestring|yyyy-MM-dd} * *------------------------------------ * disable this sectio by placing * at beginning of each line for channels.xml creation *------------------------------------ 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=date='urldate'&id_live='channel'} *------------------------------------ * end disable section *------------------------------------ * index_showsplit.scrub (regex||

(.+?)<\\/p>||} * index_start.scrub {regex||(.+?)<\\/b>||} *index_title.scrub {single||<\/span>|} index_title.modify {cleanup} * ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start * * disable url_index.headers section above * *url_index{url|http://htvonline.com.vn/livetv} *index_site_id.scrub {|} *index_temp_9.scrub {single(debug)||} *index_site_id.modify {substring(type=regex)|'index_temp_9' "value=\"(.+?)\""} *index_site_channel.modify {substring(type=regex)|'index_temp_9' "\">(.+?)<\/option>"} *index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")} ** @auto_xml_channel_end