41 lines
1.8 KiB
INI
Executable File
41 lines
1.8 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
||
* @header_start
|
||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||
* @Site: tv.i.ua
|
||
* @MinSWversion: 1.1.1/54
|
||
* @Revision 0 - [10/05/2016] Blackbear199
|
||
* - creation
|
||
* @Remarks:
|
||
* @header_end
|
||
**------------------------------------------------------------------------------------------------
|
||
site {url=tv.i.ua|timezone=UTC|maxdays=7.1|cultureinfo=uk-UA|charset=UTF-8|titlematchfactor=90}
|
||
site {ratingsystem=UA|episodesystem=onscreen}
|
||
url_index{url|http://tv.i.ua|channel|}
|
||
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
||
urldate.format {daycounter|0} *not used
|
||
*
|
||
index_showsplit.scrub {multi|<ul class="tv_channel_program">|<li class="tv_program_item"|</li>|</ul>}
|
||
*
|
||
index_start.scrub {single|data-time="||">|">}
|
||
*index_stop.scrub {single|}
|
||
index_title.scrub {single|<span class="_title">||</span>|span>}
|
||
*
|
||
index_urlshow {url|http://tv.i.ua|<a href="||">|">}
|
||
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate}
|
||
*
|
||
title.scrub {single|<h1>||</h1>|</h1>}
|
||
description.scrub {multi|<p>||</p>|</p>}
|
||
*
|
||
index_title.modify {remove(type=regex)|<.+?>}
|
||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||
**
|
||
** @auto_xml_channel_start
|
||
*url_index{url|http://tv.i.ua/channels/}
|
||
*index_site_id.scrub {|}
|
||
*index_temp_9.scrub {multi|'/channels/search_channels/'|<span class="_title">|</span>|<script language=JavaScript>}
|
||
*index_site_id.modify {substring(type=regex)|'index_temp_9' "href=\"(.+?)\/\">"}
|
||
*index_site_channel.modify {substring(type=regex)|'index_temp_9' ">(.+?)<\/a>"}
|
||
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
||
** @auto_xml_channel_end
|