Files
epg/siteini.pack/Latvia/lattelecom.lv.ini
freearhey a597b11307 Init
2021-03-09 22:46:37 +03:00

43 lines
1.9 KiB
INI
Executable File

**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: lattelecom.lv
* @MinSWversion: V0
* none
* @Revision 1 - [08/05/2015] Doglover/Francis De Paemeleere
* - fix showsplit (Doglover)
* - set new timezone type
* - create new .channels.xml generation
* - merge interaktivie and virszemes version (now only 1 version needed)
* @Revision 0 - [29/09/2012] Jan van Straaten
* none
* @Remarks:
* none
* @header_end
**------------------------------------------------------------------------------------------------
site {url=lattelecom.lv|timezone=Europe/Riga|maxdays=14|cultureinfo=lv-LV|charset=utf-8|titlematchfactor=90}
url_index{url|http://tv.lattelecom.lv/|channel|/|urldate}
urldate.format {datestring|dd.MM.yyyy}
index_showsplit.scrub {multi|<ul id="program-list-view">|<li|</li|</ul>}
*
index_start.scrub {single|<b>||</b>|</b>}
index_title.scrub {single|<a class="title"|">|</a>|</a>}
index_description.scrub {single|style="display:none">||</p>|</li>}
index_urlchannellogo.scrub {regex||^.*?id="channel".*?"channel-placeholder".*?background-image:url\(([^\)]*)||}
index_urlchannellogo.modify {addstart(not="")|http://tv.lattelecom.lv}
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
*subpage.format {list|interaktivie|virszemes}
*url_index {url|http://tv.lattelecom.lv/kanali/|subpage|}
*index_site_channel.scrub {regex||href="[^"]*"[^>]*class="title">([^<]*)||}
*index_site_id.scrub {regex||href="([^"]*)"[^>]*class="title">[^<]*||}
*scope.range {(channellist)|end}
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
*end_scope
** @auto_xml_channel_end