Init
This commit is contained in:
37
siteini.pack/Vietnam/us.tvnet.gov.vn.ini
Executable file
37
siteini.pack/Vietnam/us.tvnet.gov.vn.ini
Executable file
@@ -0,0 +1,37 @@
|
||||
**------------------------------------------------------------------------------------------------
|
||||
* @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
|
||||
Reference in New Issue
Block a user