48 lines
2.2 KiB
INI
Executable File
48 lines
2.2 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: tvprograma.lt
|
|
* @MinSWversion: V1.1.1/53
|
|
* @Revision 3 - [09/09/2018] Erikas Rudinskas
|
|
* - Fix currently active TV show not being added
|
|
* - Fix TV show description
|
|
* - Updated broken channels generation
|
|
* @Revision 2 - [12/03/2016] Blackbear199
|
|
* - fix showsplit
|
|
* @Revision 1 - [08/09/2015] Karolis Vaikutis
|
|
* - updated channel list generation, added showicon
|
|
* @Revision 0 - [01/03/2014] Steve Wildmore
|
|
* - creation
|
|
* @Remarks:
|
|
* none
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
|
|
site {url=tvprograma.lt|timezone=Europe/Vilnius|maxdays=8|cultureinfo=lt-LT|charset=UTF-8|titlematchfactor=90|episodesystem=onscreen|allowlastpageoverflow}
|
|
url_index{url|https://www.tvprograma.lt/tv-programa/televizija/|channel|/|urldate|}
|
|
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
|
urldate.format {datestring|yyyy_MM_dd}
|
|
*
|
|
index_showsplit.scrub {multi|<div href="#" class="item name|||<div class="c-banner">}
|
|
*
|
|
index_start.scrub {single|<span>||</span>|</span>}
|
|
index_title.scrub {single|</span>||<div class|<div class}
|
|
index_description.scrub {regex||<div class="description">(.*?)</div>||}
|
|
index_description.scrub {regex||<div class="full-description" style="display:none;">(.*?)</div>||}
|
|
index_showicon.scrub {single|<img src="||"/>|"/>}
|
|
*
|
|
index_title.modify {cleanup}
|
|
index_title.modify {cleanup(tags="<"">")}
|
|
*
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*url_index{url|https://www.tvprograma.lt}
|
|
*index_site_id.scrub {multi|<div class="tab-pane|<a href="https://www.tvprograma.lt/tv-programa/televizija/|?genre|<div id="top-low-banner">}
|
|
*index_site_channel.scrub {multi|<div class="tab-pane|title="|">|<div id="top-low-banner">}
|
|
*scope.range {(channellist)|end}
|
|
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
|
*end_scope
|
|
** @auto_xml_channel_end
|