**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: sporedi.tv
* @MinSWversion:
* @Revision 0 - [14/03/2016] Blackbear199
* - creation
* @Remarks: your_remarks
* @header_end
**------------------------------------------------------------------------------------------------
site {url=sporedi.tv|timezone=UTC+01:00|maxdays=7|cultureinfo=sl-SI|charset=UTF-8|titlematchfactor=90|episodesystem=onscreen|ratingsystem=IMDB|allowlastpageoverflow}
url_index{url|http://sporedi.tv/index.php?action=webschedule&page=ajax_calls&funct=loadEmissions&id_ch=|channel|&date=|urldate|&id_em=0&ch_name=0}
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
urldate.format {datestring|dd.MM.yyyy}
*
index_showsplit.scrub {multi||||}
index_showsplit.modify {cleanup(style=jsondecode)}
index_showsplit.modify {remove|\}
index_showsplit.modify {substring(type=regex)|"(
)"}
*
index_start.scrub {single||||}
index_title.scrub {single||||}
index_category.scrub {multi(separator=" / ")||||}
*
index_urlshow {url|http://sporedi.tv/?action=webschedule&page=ajax_calls&funct=getShowInfo&oddaja=|id="em_||">|">}
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate}
*
title.scrub {single|||<\\\/h1>|<\\\/h1>}
titleoriginal.scrub {single(lang=en)|Izvirni naslov: ||<\\\/b>|
}
description.scrub {multi|
||<\\\/p>|<\\\/p>}
director.scrub {single|Re\\u017eiser: ||<\\\/b>|<\\\/b>}
actor.scrub {multi(separator=", ")|Igralci: ||<\\\/b>|<\\\/b>}
starrating.scrub {single|
|IMDB: | \\\/|<\\\/div>"}
*
temp_1.scrub {multi(includeblock="Sezona")|||<\\\/span>|<\\\/span>}
episode.scrub {multi(includeblock="Epizoda")|||<\\\/span>|<\\\/span>}
episode.modify {addstart('temp_1' not "")|'temp_1' }
*
productiondate.scrub {single(separator="," include=last)|||<\\\/span>|<\\\/span>}
country.scrub {single(separator="," include=first)|||<\\\/span>|<\\\/span>}
*
title.modify {cleanup}
titleoriginal.modify {cleanup}
description.modify {cleanup}
actor.modify {cleanup}
country.modify {cleanup}
*
title.modify {remove|\}
titleoriginal.modify {remove|\}
description.modify {remove|\}
actor.modify {remove|\}
country.modify {remove|\}
*
rating.modify {
*
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
*url_index{url|http://sporedi.tv/index.php?page=uredi_kanale}
*index_site_id.scrub {multi||">}
*index_site_channel.scrub {multi||||}
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
** @auto_xml_channel_end