63 lines
3.1 KiB
INI
Executable File
63 lines
3.1 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
||
* @header_start
|
||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||
* @Site: entutele.com
|
||
* @MinSWversion: V2.0.0
|
||
* @Revision 5 - [05/04/2017] Jan van Straaten
|
||
* - completely new
|
||
* @Revision 4 - [08/02/2015] Francis De Paemeleere
|
||
* - changed .channels generation
|
||
* - added channel logo
|
||
* @Revision 3 - [13/11/2014] Jan van Straaten
|
||
* - needs firstshow=1
|
||
* @Revision 2 - [04/11/2014] Francis De Paemeleere
|
||
* - update to site changes + add more details
|
||
* @Revision 1 - [03/11/2014] Jan van Straaten
|
||
* - timezone new style
|
||
* @Revision 0 - [21/03/2014] Steve Wildmore
|
||
* - creation
|
||
* @Remarks:
|
||
* @header_end
|
||
**------------------------------------------------------------------------------------------------
|
||
|
||
site {url=entutele.com|timezone=America/Mexico_City|maxdays=15|cultureinfo=es-MX|charset=UTF-8|titlematchfactor=90|firstshow=1}
|
||
urldate.format {datestring|yyyy-MM-dd}
|
||
url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages
|
||
|
||
url_index{url()|http://www.entutele.com|channel||urldate|T00:00+0100}
|
||
http://www.entutele.com//canal/antena-3/2017-04-03+06%3A00
|
||
https://www.entutele.com/canal/ae/2017-04-03T02%3A00-0500
|
||
index_showsplit.scrub {regex()||(<tr data-start.+?</tr>)||}
|
||
|
||
*index_showsplit.scrub {multi|<table class="canal_horario">|<tr class=" ||</tbody>}
|
||
*index_showsplit.modify {cleanup(removeduplicates=equal span=1)}
|
||
scope.range {(indexshowdetails)|end}
|
||
index_start.scrub {regex()||<tr data-start="(\d{10})"||}
|
||
index_title.scrub {regex()||<strong>(.+?)</strong>||}
|
||
|
||
https://www.entutele.com/programa/el-hormiguero/135536
|
||
index_temp_1.scrub {regex()||<a href="(.+?)"||}
|
||
index_urlshow.modify {set()|http://www.entutele.com'index_temp_1'}
|
||
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the detail pages
|
||
end_scope
|
||
scope.range {(showdetails)|end}
|
||
title.scrub {regex()||<div class="show-info">\s+?<h2>(.+?)</h2>||}
|
||
description.scrub {single()|<div class="show-info">|<p>|</p>|</div>}
|
||
actor.scrub {single(separator=",")|<div class="show-info">|<p class="show-cast"><strong>Reparto:</strong>|</p>|</div>}
|
||
category.scrub {single(separator="›")|<div class="show-info">|<span class="show-tags">|</span>|</div>}
|
||
showicon.scrub {single()|<div class="show-info">|<img src="|"/>|</div>}
|
||
end_scope
|
||
|
||
* _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||
* ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||
*
|
||
** @auto_xml_channel_start
|
||
*scope.range {(channellist)|end}
|
||
*url_index{set|https://www.entutele.com/canales/todos}
|
||
*index_site_id.scrub {multi()|<div class="channel-list">|<a href="|">|<div class="footer">}
|
||
*index_site_channel.scrub {multi|<div class="channel-list">|<h2>|</h2>|<div class="footer">}
|
||
*scope.range {(channellist)|end}
|
||
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
||
*end_scope
|
||
** @auto_xml_channel_end
|