37 lines
1.9 KiB
INI
Executable File
37 lines
1.9 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: us.tvnet.gov.vn
|
|
* @MinSWversion: 2.1
|
|
* @Revision 0 - [28/01/2018] Mat8861
|
|
* - creation
|
|
* @Remarks:
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
|
|
site {url=us.tvnet.gov.vn|timezone=UTC|maxdays=7|cultureinfo=vi-VN|charset=UTF-8|titlematchfactor=90|nopageoverlaps}
|
|
urldate.format {datestring|dd-MM-yyyy}
|
|
*
|
|
url_index{url|http://us.tvnet.gov.vn/kenh-truyen-hinh/lich-phat-song?date=|urldate|}
|
|
url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages
|
|
url_index.headers {customheader=X-Requested-With=XMLHttpRequest}
|
|
|
|
index_variable_element.modify{set|'config_site_id'}
|
|
index_showsplit.scrub {multi(includeblock="'index_variable_element'")|<ul class="programs">|<li duration="|</li>|</ul>}
|
|
index_start.scrub {single|<span class="time">||</span>}
|
|
index_title.scrub {single|<span class="title">||</span>}
|
|
index_title.modify {cleanup(tags="<"">")}
|
|
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*url_index {url|http://us.tvnet.gov.vn/kenh-truyen-hinh/lich-phat-song?date=|urldate|}
|
|
*index_site_channel.scrub {multi|<li>|<a href="/kenh-truyen-hinh/|" title=""|</ul>}
|
|
*index_site_channel.modify{remove(type=regex)|\d+\/}
|
|
*index_site_channel.modify {cleanup(style=upper)}
|
|
*index_site_id.scrub {multi|<li>|<a href="/kenh-truyen-hinh/|" title=""|</ul>}
|
|
*scope.range {(channellist)|end}
|
|
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
|
*end_scope
|
|
** @auto_xml_channel_end |