47 lines
2.1 KiB
INI
Executable File
47 lines
2.1 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: kavad.ee
|
|
* @MinSWversion: 1.1.1/54
|
|
* @Revision 0 - [18/05/2016] Blackbear199
|
|
* - creation
|
|
* @Remarks:
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
|
|
site {url=kavad.ee|timezone=Europe/Tallinn|maxdays=12|cultureinfo=et-EE|charset=UTF-8|titlematchfactor=90|nopageoverlaps}
|
|
site {episodesystem=onscreen}
|
|
*
|
|
urldate.format {daycounter|0}
|
|
url_index{url|http://www.kavad.ee/kanal/|channel|/|urldate|/}
|
|
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
|
*
|
|
index_showsplit.scrub {multi|<div id="programrow">|||</table>}
|
|
*
|
|
scope,range{(indexshowdetails)|end}
|
|
index_start.scrub {single|<div class="time">||</div>|</div>}
|
|
index_title.scrub {single|class="normal" >||</a>|</a>}
|
|
index_subtitle.scrub {single|<div style="float:left;|<b>|</b>|</div>}
|
|
index_category.scrub {single(separator=", ")|<div style="float:left;|<br />|<br />|</div>}
|
|
index_productiondate.modify {substring(type=regex)|'index_description' "\((\d{4})\)"}
|
|
index_description.modify {remove('index_productiondate' not "")|('index_productiondate')}
|
|
*
|
|
index_episode.scrub {single|class="season_ep">||</span>|</span>}
|
|
index_episode.modify {addstart('index_episode' ~ ", ")|S}
|
|
index_episode.modify {replace|, |E}
|
|
index_episode.modify {addstart('index_episode' not "")|E}
|
|
index_episode.modify {replace|ES|S}
|
|
*
|
|
index_subtitle.modify {clear('index_title' ~ 'index_subtitle')}
|
|
index_description.modify {cleanup}
|
|
end_scope
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*url_index{url|http://www.kavad.ee/kanalid/}
|
|
*index_site_id.scrub {multi|"page_allchannels"|<a href="/kanal/|/"|</table>}
|
|
*index_site_channel.scrub {regex||<a href=\"\/kanal\/(.+?)-\d+\/\"||}
|
|
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
|
** @auto_xml_channel_end
|