**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: vsetv.com * @MinSWversion: V1.1.1/55.26 * @Revision 1 - [08/09/2016] Blackbear199 * - site changes * @Revision 0 - [22/08/2015] Jan van Straaten * - creation * @Remarks: weekly refresh starting monday * @header_end **------------------------------------------------------------------------------------------------ site {url=vsetv.com|timezone=Europe/Moscow|maxdays=7|cultureinfo=en-GB|charset=windows-1251|titlematchfactor=0|nopageoverlaps} urldate.format {datestring|yyyy-MM-dd} *url_index{url|http://www.vsetv.com/schedule_channel_|channel|_day_|urldate|.html} url_index{url|http://www.vsetv.com/schedule_channel_|channel|_day_|urldate|_st_bytime.html} url_index.headers {customheader=Accept-Encoding=gzip,deflate} * index_urlchannellogo.scrub {single(scope=datelogo)|||
|
} index_showsplit.modify {replace|
|
} index_showsplit.modify {replace|
|
} index_showsplit.modify {replace|
|
} index_showsplit.modify {substring(type=regex)|"
.*?<\/a>"} * scope.range{(indexshowdetails)|end} index_urlshow.scrub {single(excludeblock="schedule_channel")|||
|
} index_title.scrub {single|
|||} * index_title.modify {remove(type=regex)|\..")} index_title.modify {remove|"} index_title.modify {remove(type=regex)|\.$} index_episode.modify {substring(type=regex)|'index_title' ",\s+?(\d{1,}\s*?.{0,1}\s*?\d*)\s*с"} index_episode.modify {cleanup} end_scope * title.scrub {regex()||class=\"showname\">\s+?

(.+?)

||} titleoriginal.scrub {regex||class=\"showname\">\s+?

(?:.+?)

(.*?)
||} subtitle.modify {addstart|'index_title'} description.scrub {regex||(.*?)||} description.modify {cleanup(tags="<"">")} director.scrub {regex()||Режиссер\(ы\):(.*?)
||} director.modify {replace|,|\|} actor.scrub {regex||Актеры:(.*?)
||} actor.modify {replace|,|\|} presenter.scrub {regex||Ведущие:(.*?)
||} presenter.modify {replace|,|\|} category.scrub {regex()||class=\"showname\">.+?(.*?)||} category.modify {clear(~ ":")} category.modify {replace| / |\|} country.scrub {regex()||class=\"showname\">.+?(?:
)+?\s*?(\w+)||} productiondate.scrub {single|class="showname">||} starrating.scrub {regex||Зрительский рейтинг:\s*?(\d.*?)||} starrating.scrub {regex||Рейтинг телешоу:\s*?(\d.*?)||} * ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *index_site_channel.scrub {multi||} *index_site_id.scrub {multi|} *scope.range {(channellist)|end} *index_site_id.modify {remove| selected} *index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")} *end_scope ** @auto_xml_channel_end