41 lines
1.9 KiB
INI
Executable File
41 lines
1.9 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: guia-tv.pt
|
|
* @MinSWversion: V2.1.9
|
|
* @Revision 2 - [23/10/2019] WGT*Mat8861 - Fix chan list
|
|
* @Revision 1 - [27/09/2017] Mat8861 - update
|
|
* @Revision 0 - [20/05/2017] Mat8861 & Blackbear199
|
|
* - creation
|
|
* @Remarks:
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
site {url=guia-tv.pt|timezone=Europe/Lisbon|maxdays=7|cultureinfo=pt-PT|charset=UTF-8|nopageoverlaps|titlematchfactor=90}
|
|
site {episodesystem=onscreen|}
|
|
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
|
*
|
|
url_index{url|http://www.guia-tv.pt/mostrar-proximo-dia?c=|channel|&d=|urldate|}
|
|
index_urlshow {url||rel="||">}
|
|
urldate.format {datestring|yyyy-MM-dd}
|
|
*
|
|
index_variable_element.modify {set|'config_site_id'}
|
|
index_urlchannellogo.modify {addstart|http://www.guia-tv.pt/logos/'index_variable_element'.png}
|
|
index_showsplit.scrub {multi|<a href="javascript:;"||</a>}
|
|
*
|
|
index_start.scrub {single|<div class="canal-listing-time">||</div>}
|
|
index_title.scrub {single|<div class="canal-listing-name">||</div>}
|
|
title.scrub {regex||<h2>(.*?)</h2>||}
|
|
description.scrub {regex||<div class="tv-listing-desc">(.*?)</div>||}
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*url_index{url|https://www.guia-tv.pt/no-ar?all=1}
|
|
*index_site_channel.scrub {multi|<div class="no-ar-logo">|&c=|&id=|</a>}
|
|
*index_site_id.scrub {multi|<div class="no-ar-logo">|&c=|&id=|</a>}
|
|
*scope.range {(channellist)|end}
|
|
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
|
*end_scope
|
|
** @auto_xml_channel_end
|
|
|