**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: vtv.vn * @MinSWversion: * @Revision 1 - [01/09/2015] Francis De Paemeleere * - update to site changes * @Revision 0 - [01/11/2013] Francis De Paemeleere * - creation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ site {url=vtv.vn|timezone=Asia/Ho_Chi_Minh|maxdays=7|cultureinfo=vi-VN|charset=UTF-8|titlematchfactor=90|episodesystem=onscreen} url_index{url|http://vtvapi.channelvn.net/Handlers/ScheduleHome.aspx?channel=|channel|&day=|urldate|} urldate.format {list|0|-1|-2|-3|-4|-5|-6} index_showsplit.scrub {multi|
  • ||
  • |} index_start.scrub {single(regex)||

    ([0-2]\d:\d{2})

    ||} index_title.scrub {single||||} index_subtitle.scrub {single||||} index_episode.modify {substring(type=regex)|'index_subtitle' ".*? - (Tập \d+)"} index_subtitle.modify {remove('index_episode' not="")| - 'index_episode'} ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *url_index{url|http://vtv.vn} *index_site_id.scrub {regex||^.*?]*id=\"lichvtv-channel\"[^>]*>\s*(]*value=\".*?\"[^>]*>.*?\s*)*||} *scope.range {(channellist)|end} *index_site_channel.modify {addstart|'index_site_id'} *index_site_channel.modify {substring(type=regex)|]*value=\".+?\"[^>]*>\s*(.+?)\s*} *index_site_channel.modify {replace(type=regex)|\s{1,}| } *index_site_id.modify {substring(type=regex)|]*value=\"(.+?)\"[^>]*>.+?} *index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")} *end_scope ** @auto_xml_channel_end