54 lines
2.6 KiB
INI
Executable File
54 lines
2.6 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: tv.ua
|
|
* @MinSWversion: V1.1.1/47
|
|
* @Revision 2 - [19/03/2016] Blackbear199
|
|
* - rewrite
|
|
* @Revision 1 - [27/02/2012] Francis De Paemeleere
|
|
* - rename duplicate site_channels (only if there is a unique site_id for it!)
|
|
* @Revision 0 - [24/02/2012] Francis De Paemeleere
|
|
* - creation
|
|
* @Remarks:
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
site {url=tv.ua|timezone=UTC+00:00|maxdays=7|cultureinfo=uk-UA|charset=utf-8|titlematchfactor=90|atingsystem=IMDB}
|
|
url_index{url|http://schedule.tv.ua/ajax/updateProgsOnChannel?date=|urldate|&channel=|channel|}
|
|
urldate.format {datestring|dd.MM.yyyy}
|
|
*
|
|
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
|
*
|
|
index_showsplit.scrub {multi||||}
|
|
index_showsplit.modify {cleanup(style=jsondecode)}
|
|
index_showsplit.modify {remove|\\r}
|
|
index_showsplit.modify {remove|\\n}
|
|
index_showsplit.modify {cleanup}
|
|
index_showsplit.modify {substring(type=regex)|"class="padl gray large"(.+?)width="40"> <a rel"}
|
|
*
|
|
index_start.scrub {single|>||<td|<td}
|
|
index_start.modify {replace|.|:}
|
|
index_title.scrub {single|title="" class="orange">||<td|<td}
|
|
*
|
|
index_urlshow {url||<a href="||"|"}
|
|
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate}
|
|
*
|
|
title.scrub {single|<span class="gray large">||</span>|</span>}
|
|
description.scrub {multi|<div class="clear_big">|<span class="large">|<br />|</span>}
|
|
director.scrub {single|Режиссер:|<span class="gray">|</span>|<div }
|
|
actor.scrub {single(separator=", ")|Актёры:|<span class="gray">|</span>|<div }
|
|
rating.scrub {multi|Рейтинг IMDB: <span class="orange">||</span>|</span>}
|
|
category.scrub {multi(separator=", ")|Жанр:|<span class="gray">|</span>|<div }
|
|
productiondate.scrub {single|Год:|<span class="gray">|</span>|<div }
|
|
country.scrub {multi(separator=", ")|Страна:|<span class="gray">|</span>|<div }
|
|
*
|
|
description.modify {cleanup(tags="<"">")}
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*url_index{url|http://schedule.tv.ua/}
|
|
*index_site_channel.scrub {multi|<div id="channels_available">|false;">|<img|</div>}
|
|
*index_site_id.scrub {multi|<div id="channels_available">|data-channelid="|"|</div>}
|
|
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
|
** @auto_xml_channel_end
|