**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: indovision.tv * @MinSWversion: 1.1.1/53 * @Revision 2 - [14/02/2014] Jan van Straaten * - index_start with regex (failed on occasion) * @Revision 1 - [13/02/2014] Jan van Straaten * - added header referer, compression , separator in index_title * @Revision 0 - [09/08/2013] Jan van Straaten * - creation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ * site {url=indovision.tv|timezone=Asia/Jakarta|maxdays=6|cultureinfo=id-ID|charset=ISO-8859-1|titlematchfactor=90} site {compression=gzip} url_index{url()|http://www.indovision.tv/schedule} http://www.indovision.tv/schedule urldate.format {datestring|yyyy-MM-dd} url_index.headers {method=POST} url_index.headers {referer=http://www.indovision.tv/schedule} url_index.headers {postdata=fchannel='channel'&fdate='urldate'&submit=GO} * index_showsplit.scrub {multi||} * index_start.scrub {regex(debug)||@(\d{2}:\d{2}) -||} index_title.scrub {single(separator=",")|title="||@|@} * title.scrub {single(separator="," include=first)|div class='highlight_title'>|||} description.scrub {multi|div class='highlight_synopsis'>|||} * multi language, separated by
*description.modify {cleanup(tags="<"">")} *removes the language separator description.modify {replace|
|\n} * alternative: places other language on a new line episode.scrub {single(separator="," exclude=first include="Ep")|div class='highlight_title'>|||} episode.modify {cleanup} ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *index_site_channel.scrub {multi||} *index_site_id.scrub {multi|} *index_site_channel.modify {remove|-} *index_site_id.modify {remove|" selected="selected} *index_site_channel.modify {remove(type=word)|-1 1} * removes channel number ** @auto_xml_channel_end