64 lines
3.2 KiB
INI
Executable File
64 lines
3.2 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
||
* @header_start
|
||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||
* @Site: klack.de
|
||
* @MinSWversion: 1.1.1/54
|
||
* @Revision 0 - [26/05/2016] Blackbear199
|
||
* - creation
|
||
* @Remarks:
|
||
* @header_end
|
||
**------------------------------------------------------------------------------------------------
|
||
site {url=klack.de|timezone=UTC+01:00|maxdays=20|cultureinfo=de-DE|charset=UTF-8|titlematchfactor=90}
|
||
site {ratingsystem=DE|episodesystem=onscreen}
|
||
url_index{url|http://www.klack.de/fernsehprogramm/das-abendprogramm/0/all.html?hours=4}
|
||
urldate.format {datenumber|UNIX|0}
|
||
subpage.format {list|0|4|8|12|16|20}
|
||
*
|
||
url_index.headers {method=POST}
|
||
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
||
url_index.headers {accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8}
|
||
url_index.headers {contenttype=application/x-www-form-urlencoded}
|
||
url_index.headers {postdata=pit_bc_all%5Bdate%5D='urldate'&pit_bc_all%5Btime%5D='subpage'}
|
||
*
|
||
index_variable_element.modify {set|'config_site_id'}
|
||
index_showsplit.scrub {multi|<a href="/fernsehsender/'index_variable_element'.html"|<td |</td>|</tr>}
|
||
index_temp_1.modify {substring(type=regex)|'index_showsplit' "title=\"[^>]*(\d{2}:\d{2})[^>]*\""}
|
||
index_temp_1.modify {cleanup(removeduplicates=equal,100 link="index_showsplit" span=1 keepfirst}
|
||
*
|
||
index_urlchannellogo {url||<img class="stationIcon" src="||"|"}
|
||
*
|
||
index_start.scrub {regex||title="(\d{2}:\d{2})[^>]*"||}
|
||
index_title.scrub {regex||title="\d{2}:\d{2}(.+?)"||}
|
||
*
|
||
index_urlshow {url|http://www.klack.de|<a href="||"|"}
|
||
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate}
|
||
*
|
||
scope.range{(showdetails)|end}
|
||
title.scrub {single(separator=" - " include=first)|<title>||</title>|</title>}
|
||
titleoriginal.scrub {single|Original-Titel:|<td>|</td>|</tr>}
|
||
titleoriginal.modify {clear('title' ~ "titleoriginal')}
|
||
subtitle.scrub {single|Untertitel:|<td>|</td>|</tr>}
|
||
description.scrub {multi|<p class="text" style="width: 96.5%; line-height: 1.5">||</p>|</p>}
|
||
director.scrub {single|Regie:|<td>|</td>|</tr>}
|
||
actor.scrub {multi|Schauspieler:|<td class="actor">|</td>|</table>}
|
||
commentator.scrub {single|Narrator|<td class="actor">|</td>|</table>}
|
||
actor.modify {remove|'commentator'}
|
||
rating.scrub {single|FSK:|<td>|</td>|</tr>}
|
||
category.scrub {single(separator="," include=first)|Genre:|<td>|</td>|</tr>}
|
||
productiondate.scrub {single|Genre:|<td>|</td>|</tr>}
|
||
country.scrub {single(separator="," exclude=first)|Genre:|<td>|</td>|</tr>}
|
||
country.modify {remove('productiondate' not "")|'productiondate'}
|
||
country.modify {cleanup}
|
||
country.modify {clear('country' "D")}}
|
||
episode.scrub {single|Folge:|<td>|</td>|</tr>}
|
||
showicon.scrub {single|<img class="detailImage"|src="|"| />}
|
||
end_scope
|
||
*
|
||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||
**
|
||
** @auto_xml_channel_start
|
||
*index_site_id.scrub {multi|<a href="/fernsehsender/||.html|.html}
|
||
*index_site_channel.scrub {multi|<a href="/fernsehsender/|title="|"|</a>}
|
||
** @auto_xml_channel_end
|