Files
epg/siteini.pack/Slovakia/port.sk.ini
freearhey a597b11307 Init
2021-03-09 22:46:37 +03:00

83 lines
4.4 KiB
INI
Executable File

**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: port.sk
* @MinSWversion: V1.1.1/54.1
* @Revision 9 - [04/09/2014] Jan van Straaten
* - maxdays=11.1, added customheader, corrected error in presenter
* @Revision 8 - [03/09/2014] Jan van Straaten
* - removed firstday=now, changed maxdays=5.1
* @Revision 7 - [14/11/2013] Francis De Paemeleere
* @Remarks:
* adjusted version of port.rs
* @header_end
**------------------------------------------------------------------------------------------------
site {url=port.sk|timezone=Europe/Bratislava|maxdays=11.1|cultureinfo=sk-SK|charset=iso-8859-2|titlematchfactor=90}
url_index{url()|http://port.sk/pls/w/tv.channel?i_date=|urldate|&i_ch=|channel|&i_xday=11}
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
urldate.format {datestring|yyyy-MM-dd}
*
* scrub the showsplit in two day period fragments:
* makes use of the alternative scrubstring tructure {|bs|es||be}, = simple 'slice' @ es
*
* the daytime section:
index_showsplit.scrub {multi(exclude="0px\"><!--DEBUG")|<p class="date_box" style="margin-bottom:0px">|<td class="time_container" style="border-bottom:solid #FFFFFF 2px;">||<table style="padding:0px 5px;width:230px;" cellspacing="0" cellpadding="0">}
* the evening section:
index_showsplit.scrub {multi()|<table style="padding:0px 5px;width:230px;" cellspacing="0" cellpadding="0">|<td class="time_container" style="border-bottom:solid #FFFFFF 2px;">||<p class="date_box" style="margin-bottom:0px">}
*
index_start.scrub {single()|btxt" style="|padding:0px">|<|</div>}
index_title.scrub {single(separator="</span>" include=first)|btxt">||</a>|</a>}
index_urlshow {url()||<a onclick=|href="|" |class="btxt">}
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate}
index_description.scrub {single ()|<span class="btxt">|class="desc_text">|</p>|</td>}
index_temp_1.scrub {single()|class="ltxt">||</span>|<span}
*
title.scrub {single()|<div style="text-align:center">|class="blackbigtitle">|</h1>|</td}
description.scrub {single()|<div id="reminder_box">|<tr>|</tr>|</table>}
subtitle.scrub {single()|<div style="text-align:center">|class="txt">|</h2>|</td}
showicon.scrub {single|id="galeryMaskContent"|src="|"|</table>}
actor.scrub {regex||>(?:cast\|uloge\|szereplő\(k\)\|Distribuţia\|herec)\:(.*?)(?:</div>\|<span class="btxt">)||}
director.scrub {regex||>(?:director\|redatelj\|reditelj\|rendező\|regizor\|réžia\|režie)\:(.*?)(?:</div>\|<span class="btxt">)||}
composer.scrub {regex||>(?:composer\|scenario\|skladatelj)\:(.*?)(?:</div>\|<span class="btxt">)||}
producer.scrub {regex||>(?:producer\|producent)\:(.*?)(?:</div>\|<span class="btxt">)||}
presenter.scrub {regex||>(?:presenter\|predstavljača\|predstavljaca\|műsorvezető\|prezentator\|moderátor)\:(.*?)(?:</div>\|<span class="btxt">)||}
productiondate.scrub {single|<td valign="top" width="98%">|<span class="txt">|</span>|</span>}
*
title.modify {addstart("")|'index_title'}
index_description.modify {cleanup}
subtitle.modify{addend|'index_temp_1'}
description.modify {cleanup(tags="<"">")}
actor.modify {replace|<br />|\|}
director.modify {replace|<br />|\|}
composer.modify {replace|<br />|\|}
producer.modify {replace|<br />|\|}
presenter.modify {replace|<br />|\|}
actor.modify {cleanup(tags="<"">")}
director.modify {cleanup(tags="<"">")}
composer.modify {cleanup(tags="<"">")}
producer.modify {cleanup(tags="<"">")}
presenter.modify {cleanup(tags="<"">")}
actor.modify {remove(type=regex)|(\(.*?\))$}
director.modify {replace|,|\|}
composer.modify {replace|,|\|}
producer.modify {replace|,|\|}
presenter.modify {replace|,|\|}
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
*url_index{url()|http://port.sk/pls/tv/tv.prog}
*index_site_id.scrub {multi|id="channelCombo"||</select>|</select>}
*scope.range {(channellist)|end}
*index_site_channel.modify {addstart|'index_site_id'}
*index_site_id.modify {substring(type=regex)|<option .*?value=\"(.*?)\">.*?</}
*index_site_channel.modify {substring(type=regex)|<option .*?>(.*?)</option >}
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
*end_scope
** @auto_xml_channel_end