67 lines
3.2 KiB
INI
Executable File
67 lines
3.2 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: rtve.es
|
|
* @MinSWversion: V1.1.1
|
|
* @Revision 0 - [07/06/2016] Blackbear199
|
|
* - creation
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
|
|
site {url=rtve.es|timezone=UTC+01:00|maxdays=2|cultureinfo=es-ES|charset=UTF-8|titlematchfactor=90}
|
|
* ---------------------------------------------------------
|
|
* enable only 1 url_index line radio or television
|
|
* ---------------------------------------------------------
|
|
*url_index {url|http://www.rtve.es/television/components/parrilla/mod_parrilla_rtve_|urldate|.inc} *television
|
|
url_index{url|http://www.rtve.es/radio/components/parrilla/mod_parrilla_rne_|urldate|.inc} * radio
|
|
*
|
|
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
|
urldate.format {list|hoy|manana}
|
|
*
|
|
index_variable_element.modify {addstart|'config_site_id'}
|
|
index_showsplit.scrub {multi|class="items 'index_variable_element'">|<li style|</li>|</ul>}
|
|
|
|
index_start.scrub {single|<span class="hour">||</span>|</span>}
|
|
index_title.scrub {single|<h3 itemprop="name">|<strong>|</strong>|</h3>}
|
|
*
|
|
index_urlshow {url|http://www.rtve.es|href="||"|"}
|
|
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate}
|
|
*
|
|
scope.range{(showdetails)|end}
|
|
title.scrub{single|<span class="title">||</span>|</span>}
|
|
subtitle.scrub {single|<span class="subtitle">||</span>|</span>}
|
|
titleoriginal.scrub {single|<dt>Título original:</dt>||</dd>|</dd>}
|
|
description.scrub {single|<div class="chapeaux|">|</div>|</div}
|
|
director.scrub {single|<dt>Dirige:</dt>||</dd>|</dd>}
|
|
rating.scrub {single|<dt>Clasificación</dt>|(|)</dd>|</dl>}
|
|
*
|
|
description.modify {remove(type=regex)|<.+?>}
|
|
subtitle.modify {remove(type=regex)|<.+?>}
|
|
subtitle.modify {clear('title')}
|
|
title.modify {addstart('title' "")|'index_title'}
|
|
titleoriginal.modify {remove(type=regex)|<.+?>}
|
|
titleoriginal.modify {clear('subtitle')}
|
|
titleoriginal.modify {clear('title')}
|
|
director.modify {remove(type=regex)|<.+?>}
|
|
end_scope
|
|
*
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the tv-dir.bg.channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
* -----------------------------------------
|
|
* Radio - disable television below
|
|
* -----------------------------------------
|
|
*url_index{url|http://www.rtve.es/radio/programas/radio/}
|
|
*index_site_id.scrub {multi|<ul rel="tve" class="items ||">|">}
|
|
*index_site_channel.scrub {multi|<span class="mosca hddn">|<strong>|</strong>|</span>}
|
|
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
|
* -----------------------------------------
|
|
* Television - disable radio above
|
|
* -----------------------------------------
|
|
*url_index{url|http://www.rtve.es/television/programacion/ampliada/}
|
|
*index_site_id.scrub {multi|<ul rel="tve" class="items ||">|">}
|
|
*index_site_channel.scrub {multi|<span class="mosca hddn">|<strong>|</strong>|</span>}
|
|
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
|
** @auto_xml_channel_end
|