47 lines
1.7 KiB
INI
Executable File
47 lines
1.7 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: mexicotravelchannel.com.mx
|
|
* @MinSWversion:
|
|
* @Revision 0 - [31/05/2017] Netuddki
|
|
* - create
|
|
* @Remarks:
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
*
|
|
site {url=mexicotravelchannel.com.mx|timezone=America/Mexico_City|maxdays=7.1|cultureinfo=es-MX|charset=UTF-8|titlematchfactor=90}
|
|
site {firstday=0123456}
|
|
urldate.format {datestring|yyyy-MM-dd}
|
|
*
|
|
url_index{url|http://www.mexicotravelchannel.com.mx/index.php/inicio/programacion}
|
|
*
|
|
scope.range {(splitindex)|end}
|
|
index_showsplit.scrub {regex||<li style="width(.*?)</li>||}
|
|
*
|
|
index_start.scrub {regex||<time>(.*?)\sa||}
|
|
*index_stop.scrub {regex||<time>.*?a\s(.*?)</time>||} *may cause problems
|
|
index_title.scrub {regex||title=".*?">.*?">(.*?)<br>||}
|
|
*
|
|
index_urlshow.scrub {regex||<a href="(.*?)">||}
|
|
*
|
|
end_scope
|
|
*
|
|
scope.range {(showdetails)|end}
|
|
title.scrub {regex||<div id="texto_seccion">.*?<h1>(.*?)</h1>||}
|
|
*
|
|
description.scrub {regex||<div class="intro">(.*?)</p>||}
|
|
description.modify {cleanup(tags="<"">"}
|
|
*
|
|
showicon.scrub {single|<div id="foto_info_home">|<img src="|"|width}
|
|
end_scope
|
|
*
|
|
*
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*index_site_id.scrub {|}
|
|
*index_site_id.modify {set|mexicotravelchannel}
|
|
*index_site_channel.modify {set|Mexico Travel Channel
|
|
** @auto_xml_channel_end
|