**------------------------------------------------------------------------------------------------ * @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|} * index_start.scrub {single||||} *index_title.scrub {regex||(.+?)-||} index_title.scrub {single(separator="-" include=first)||||} index_episode.scrub {single(separator="-" include=last)||||} 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/||">} * title.scrub {single|

||

|} description.scrub {multi(separator="
" exclude=last)|

|
||

Жанрове:|||} actor.scrub {multi(separator=", ")|В ролите:||

|

} producer.scrub {single(separator=", ")|Режисьор:||

|

} productiondate.scrub {single|Година:||
|
} country.scrub {single(separator=" / ")|Държава:||
|
} * 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||<|} *index_site_id.scrub {multi|