**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: tv.boxbg.net * @MinSWversion: 1.1.1/56.13 * @Revision 1 - [15/07/2020] Sprint_TV * @Revision 0 - [30/01/2016] Jan van Straaten * - creation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ site {url=tv.boxbg.net|timezone=Europe/Sofia|maxdays=7|cultureinfo=bg-BG|charset=UTF-8|titlematchfactor=30|nopageoverlaps} * one week from saterday to saterday? urldate.format {datestring|ddMMyyyy} url_index{url|http://tv.boxbg.net/channel/|channel|?day=|urldate|} url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages index_showsplit.scrub {multi|
|.+?\((.+?)\)||} title.modify {set('index_urlshow' "")|'index_title'} titleoriginal.scrub {regex||(.+?)
\s+?\(.+?\)||} description.scrub {regex|| Описание:(.+?)

||} description.modify {cleanup} category.scrub {regex||Жанр:(.+?)
||} category.modify {cleanup} productiondate.scrub {regex||Година:(.+?)||} starrating.scrub {regex|| IMDB:(.+?)||} starrating.modify {cleanup} temp_1.modify {substring(type=regex)|'starrating' "\A(\d).+?от"} starrating.modify {clear('temp_1' "")} * clear if no value starrating.modify {addstart(not "")|IMDb: } episode.scrub {regex||Епизоди:(.+?)||} episode.modify {cleanup} * ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *url_index.modify {set()|http://tv.boxbg.net/} *index_site_channel.scrub {regex||alt="(.+?)">||} *index_site_id.scrub {regex||||} *scope.range {(channellist)|end} *index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")} *end_scope ** @auto_xml_channel_end