34 lines
1.6 KiB
INI
Executable File
34 lines
1.6 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: tv.onair.mn
|
|
* @MinSWversion: 2.1
|
|
* @Revision 0 - [18/01/2018] Mat8861
|
|
* - creation
|
|
* @Remarks:
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
|
|
site {url=tv.onair.mn|timezone=Asia/Ulaanbaatar|maxdays=7|cultureinfo=mn|charset=UTF-8|titlematchfactor=90|nopageoverlaps}
|
|
urldate.format {datestring|yyyy-MM-dd}
|
|
url_index{url|http://tv.onair.mn/guide/|channel|/|urldate|}
|
|
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
|
index_showsplit.scrub {multi|<div class="container">|<div id="listvidguide">||</div><!-- content -->}
|
|
index_start.scrub {single|<div id="guidetime">||</div>}
|
|
index_stop.scrub {single|data-end="||"}
|
|
index_title.scrub {single|<div id="title">||</div>}
|
|
index_title.modify {cleanup(tags="<"">")}
|
|
index_urlchannellogo.modify {addstart|http://video.onair.mn/images/tv-logo/svg/'config_site_id'.svg}
|
|
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*url_index {url|http://tv.onair.mn/}
|
|
*index_site_channel.scrub {multi|<div id="tvtitle">|">|</a>|</div>}
|
|
*index_site_id.scrub {multi|<div id="tvtitle">|<a href="http://tv.onair.mn/|">|</a>|</div>}
|
|
*scope.range {(channellist)|end}
|
|
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
|
*end_scope
|
|
** @auto_xml_channel_end
|