**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: vsetv.com * @MinSWversion: V1.57 * @Revision 3 - [08/07/2017] mat8861 *add conversion .gif to start time * @Revision 2 - [01/11/2016] Blackbear199 * - site changes * @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=ru-RU|charset=windows-1251|titlematchfactor=0|nopageoverlaps} site {episodesystem=onscreen} * url_index{url|http://www.vsetv.com/schedule_channel_|channel|_day_|urldate|_st_bytime.html} url_index.headers {customheader=Accept-Encoding=gzip,deflate} urldate.format {datestring|yyyy-MM-dd} * index_urlchannellogo.scrub {single(scope=datelogo)||||
} scope.range{(splitindex)|end} index_showsplit.modify {replace|
|
} index_showsplit.modify {replace|
|
} index_showsplit.modify {replace|
|
} index_showsplit.modify {replace||0} index_showsplit.modify {replace||5} index_showsplit.modify {replace||1} index_showsplit.modify {substring(type=regex)|"
.*?
.*?class=\"ch\">[^<]*<\/a>"} end_scope * scope.range{(indexshowdetails)|end} index_urlshow.scrub {single(excludeblock="schedule_channel")|||
|
} index_start.modify {replace||0} index_start.modify {replace||0} index_start.modify {replace||5} index_start.modify {replace||5} index_start.modify {cleanup(tags="<"">")} 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' "^[^,]*, (.*)$"} index_title.modify {remove(type=regex)|^[^,]*(, .*)$} 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