-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtvplus.bg.ini
More file actions
31 lines (31 loc) · 1.57 KB
/
Copy pathtvplus.bg.ini
File metadata and controls
31 lines (31 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: tvplus.bg
* @MinSWversion: 1.1.1/54
* @Revision 0 - [29/12/2016] HarryGG
* - creation
* @Remarks:
* @header_end
**------------------------------------------------------------------------------------------------
site {url=tvplus.bg|timezone=Europe/Sofia|maxdays=6|cultureinfo=bg-BG|charset=UTF-8|titlematchfactor=90}
urldate.format {datestring|yyyy-MM-dd}
url_index{url()|http://www.tvplus.bg/inc/program-timeline.php?date=|urldate|}
url_index.headers {referer=http://www.tvplus.bg/index.php?p=program}
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
* Get channel the logo
index_temp_1.modify {set|'config_site_id'}
index_temp_1.modify {substring(type=regex)|"\d,(.+)"}
index_urlchannellogo.modify{set()|http://logos.kodibg.org/'index_temp_1'.png}
*
index_variable_element.modify {set|'config_site_id'}
index_variable_element.modify {substring(type=regex)|"(\d),"}
index_showsplit.scrub {multi(includeblock='index_variable_element'/7)|ul class="hours"|<li|</li>|</ul}
index_start.scrub {single()|<b|>|</b|}
index_title.scrub {single()|<div|>|</div|}
index_title.modify {replace|в ролите:|В ролите:}
index_title.modify {replace|режисьор:|Режисьор:}
index_description.scrub {single()|<div|ролите:|</div|}
index_title.modify {remove|'index_description'}
index_title.modify {remove|В ролите:}
index_description.modify {addstart(notnull)|В ролите: }