37 lines
1.9 KiB
INI
Executable File
37 lines
1.9 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: telsu.fi
|
|
* @MinSWversion:
|
|
* @Revision 1 - [18/02/2016]
|
|
* - creation
|
|
* @Remarks: this file is for the list view in telsu.fi
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
site {url=telsu.fi|timezone=EET|maxdays=21|cultureinfo=fi-FI|charset=UTF-8|titlematchfactor=90|episodesystem=xmltv_ns|ratingsystem=MEKU}
|
|
urldate.format {datestring|yyyyMMdd}
|
|
url_index{url|https://www.telsu.fi/|urldate|/|channel|}
|
|
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
|
index_showsplit.scrub {regex||<div class="h">(.+?)<div class="clear">||}
|
|
index_title.scrub {regex||<b>(.+?)</b>||}
|
|
index_start.scrub {regex||<h2>(\d+:\d+) -||}
|
|
index_stop.scrub {regex||<h2>\d+:\d+ -(\d+:\d+) ||}
|
|
index_rating.scrub {regex||<em class="k[^>]+>(.+?)</em>||}
|
|
index_starrating.scrub {regex||<div class="rate" rel="(\d+)">||}
|
|
index_description.scrub {regex||<span class="_description">(.*?)</span>||}
|
|
index_temp_8.scrub {regex||<div class="t"><div>(.+?)</div>||}
|
|
index_description.modify {addend('index_description' = "")|'index_temp_8'}
|
|
index_temp_8.modify {clear}
|
|
index_category.scrub {regex||IMDb <span>(.+?)</span>||}
|
|
index_category.modify {replace(type=regex)|.+|Elokuvat}
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*url_index{url|https://www.telsu.fi/|urldate|/kaikki}
|
|
*index_site_channel.scrub {regex||title="([^"]+)" alt||}
|
|
*index_site_id.scrub {regex||<div class="ch" rel="([^">]+)">||}
|
|
*scope.range {(channellist)|end}
|
|
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
|
*end_scope
|
|
** @auto_xml_channel_end |