44 lines
1.9 KiB
XML
Executable File
44 lines
1.9 KiB
XML
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: tvi.iol.pt
|
|
* @MinSWversion:
|
|
* @Revision 0 - [28/05/2017] Netuddki
|
|
* - create
|
|
* @Remarks: your_remarks
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
*
|
|
site {url=tvi.iol.pt|timezone=Europe/London|maxdays=7.1|cultureinfo=pt-PT|charset=UTF-8|titlematchfactor=90|firstshow=now}
|
|
*
|
|
url_index{url|http://www.tvi.iol.pt/|channel|}
|
|
*
|
|
index_showsplit.scrub {multi|<div class="showinner">||</div></div>|</div></div>}
|
|
index_urlshow.scrub {regex||<a href="(.*?)">||}
|
|
index_urlshow.modify {addstart|http://www.tvi.iol.pt}
|
|
*
|
|
index_start.scrub {regex||<div class="data">(.*?)</div>||}
|
|
*
|
|
index_title.scrub {regex||<a href.*?">(.*?)</a>||}
|
|
index_subtitle.scrub {single|<div class="subtitulo">||</div>|</div>}
|
|
*
|
|
title.modify {addstart|'index_title'}
|
|
temp_1.scrub {single|<h2|>|<|/h2>}
|
|
subtitle.modify {addstart('index_subtitle' "")|'temp_1'}
|
|
subtitle.modify {cleanup(tags="<"">")}
|
|
description.scrub {regex||<div class="sinopse">(.*?)</div>||}
|
|
description.modify {cleanup(tags="<"">")}
|
|
description.modify {cleanup}
|
|
description.modify {remove|'subtitle'}
|
|
description.modify {addstart("")|Nenhuma informação disponível}
|
|
showicon.scrub {regex||<div class="prog_header-large".*?url\((.*?)\)||}
|
|
*
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*url_index{url|http://www.tvi.iol.pt/programacao/}
|
|
*index_site_channel.scrub {regex||<option value="/programacao/.*?">(.*?)</option>||}
|
|
*index_site_id.scrub {regex||<option value="/(.*?)">||}
|
|
** @auto_xml_channel_end
|