**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: vsetv.com * @MinSWversion: V1.1.1/55.26 * @Revision 0 - [22/08/2015] Jan van Straaten * - creation * @Remarks: weekly refresh starting monday * @header_end **------------------------------------------------------------------------------------------------ site {url=vsetv.com|timezone=UTC|maxdays=7|cultureinfo=ru-RU|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.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages index_showsplit.scrub {multi()|
|||
} index_showsplit.modify {replace()|
|\n\n\|} index_showsplit.modify {replace()|
|\n\n\|} index_showsplit.modify {replace()|
|\n\n\|} index_start.scrub {regex()||\A(\d{2}:\d{2})||} index_title.scrub {regex()||
(.+?)
||} index_title.modify {cleanup(tags="<"">")} index_title.modify {remove|"} index_episode.modify {substring(debug type=regex)|'index_title' ",\s+?(\d{1,}\s*?.{0,1}\s*?\d*)\s*с"} index_urlchannellogo {url()|http://vsetv.com| index_urlshow.scrub {regex()||\s+?

(.+?)

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

(?:.+?)

(.*?)
||} subtitle.modify {addstart|'index_title'} *subtitle.scrub {single|} 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|,|\|} *producer.scrub {single|} *writer.scrub {single|} *composer.scrub {single|} *rating.scrub {multi|} *ratingicon.scrub {multi|} category.scrub {regex()||class=\"showname\">.+?(.*?)||} category.modify {clear(~ ":")} country.scrub {regex()||class=\"showname\">.+?(?:
)+?\s*?(\w+)||} productiondate.scrub {single|class="showname">||} starrating.scrub {regex||Зрительский рейтинг:\s*?(\d.*?)||} starrating.scrub {regex||Рейтинг телешоу:\s*?(\d.*?)||} *episode.scrub {single|} *subtitles.scrub {single|} *premiere.scrub {single|} *previousshown.scrub {single|} * * operations: ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### 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