42 lines
2.0 KiB
INI
Executable File
42 lines
2.0 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: news.gogo.mn
|
|
* @MinSWversion: V2.1.5
|
|
* @Revision 0 - [18/01/2018] Mat8861
|
|
* - creation
|
|
* @Remarks:
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
|
|
site {url=news.gogo.mn|timezone=Asia/Ulaanbaatar|maxdays=7.1|cultureinfo=mn|charset=UTF-8|titlematchfactor=90|nopageoverlaps|firstday=0123456}
|
|
url_index {url|http://news.gogo.mn/tvguide/}
|
|
*
|
|
urldate.format{weekdaynumber|0}
|
|
global_temp_1.modify {set|'config_site_id'}
|
|
index_showsplit.scrub {multi(include="data-tv=\"'global_temp_1'\"")|<div class="tvguideapp-panel"|<tr>|</tr>|</table>}
|
|
index_showsplit.modify {substring(type=regex)|"<div class="tvguideapp-program.+?<div class="tvguideapp-toggler"></div>"}
|
|
*
|
|
index_urlshow.headers{customheader=Accept-Encoding=gzip,deflate}
|
|
*
|
|
index_start.scrub {single|<div class="tvguideapp-program-time">||</div>|</div>}
|
|
index_title.scrub {single|<div class="tvguideapp-program-name">||</div>|</div>}
|
|
*
|
|
index_start.modify {replace|24:|00:}
|
|
index_start.modify {replace|25:|01:}
|
|
index_start.modify {replace|26:|02:}
|
|
index_start.modify {replace|27:|04:}
|
|
index_start.modify {replace|28:|04:}
|
|
index_start.modify {replace|29:|05:}
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*url_index {url|http://news.gogo.mn/tvguide/}
|
|
*index_site_channel.scrub {multi|<th class="tv-container">|<div class="tv-name hidden-xs">|</div>|</th>}
|
|
*index_site_id.scrub {multi|<th class="tv-container">|<div class="tv" data-tv="|">|</div>|</th>}
|
|
*scope.range {(channellist)|end}
|
|
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
|
*end_scope
|
|
** @auto_xml_channel_end
|