Files
epg/siteini.pack/Bulgaria/tv.dir.bg.ini
freearhey a597b11307 Init
2021-03-09 22:46:37 +03:00

60 lines
2.6 KiB
INI
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: tv.dir.bg
* @MinSWversion: V1.1.1/51
* @Revision 2 - [21/03/2016] Blackbear199
* rewrite
* @Revision 1 - [25/08/2013] Francis De Paemeleere
* small update
* @Revision 0 - [10/12/2012] Jan van Straaten
* creation
* @Remarks:
* this file should be saved with encoding charset windows-1252!
* @header_end
**------------------------------------------------------------------------------------------------
*
site {url=tv.dir.bg|timezone=UTC+02:00|maxdays=6|cultureinfo=bg-BG|charset=UTF-8|titlematchfactor=90|episodesystem=xmltv_ns}
url_index{url|http://tv.dir.bg/tv_channel.php?id=|channel|&dd=|urldate|}
urldate.format {datestring|dd.MM}
index_showsplit.scrub {multi|<ul id="events">|<li>|</li>|</ul>}
*
index_start.scrub {single|<i>||</i>|</i>}
*index_title.scrub {regex||</i>(.+?)-||}
index_title.scrub {single(separator="-" include=first)|</i>||</li>|</li>}
index_episode.scrub {single(separator="-" include=last)|</i>||</li>|</li>}
index_episode.modify {clear('index_episode' not~ "еп.")}
*
scope.range {(indexshowdetails)|end}
index_start.modify {replace|.|:}
index_title.modify {cleanup(tags="<"">")}
index_title.modify {remove|"}
index_episode.modify {cleanup(tags="<"">")}
end_scope
*
index_urlshow {url|http://tv.dir.bg/|<a href="||">|">}
*
title.scrub {single|<h1>||</h1>|</h1>}
description.scrub {multi(separator="<br />" exclude=last)|<p> <strong>|<br>|</div>|<div }
category.scrub {multi|<strong>Жанрове:</strong>||</a>|</a>}
actor.scrub {multi(separator=", ")|<strong>В ролите:</strong>||</p>|</p>}
producer.scrub {single(separator=", ")|<strong>Режисьор:</strong>||</p>|</p>}
productiondate.scrub {single|<strong>Година:</strong>||<br>|<br>}
country.scrub {single(separator=" / ")|<strong>Държава:</strong>||<br>|<br>}
*
scope.range {(showdetails)|end}
description.modify {cleanup}
category.modify {cleanup(tags="<"">")}
end_scope.range
*
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the tv-dir.bg.channel.xml file)
**
** @auto_xml_channel_start
** extraction not perfect, remove the obvious non channels by hand
*url_index{url|http://tv.dir.bg/}
*index_site_channel.scrub {multi|<a href="/tv_channel.php?id=|">|<|}
*index_site_id.scrub {multi|<a href="/tv_channel.php?id=||"|"}
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
** @auto_xml_channel_end