**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: s-tv.ru * @MinSWversion: * @Revision 1 - [17/07/2016] Blackbear199 * - site changes,fixed channels.xml generation * @Revision 0 - [26/02/2016] Blackbear199 * - creation * @Remarks: your_remarks * @header_end **------------------------------------------------------------------------------------------------ site {url=s-tv.ru|timezone=UTC+02:00|maxdays=8|cultureinfo=ru-RU|charset=UTF-8|titlematchfactor=90} site {ratingsystem=RU|episodesystem=onscreen|allowlastpageoverflow} * url_index{url|http://www.s-tv.ru/tv/|channel|/|urldate|/} url_index.headers {customheader=Accept-Encoding=gzip,deflate} urldate.format {datestring|yyyy-MM-dd} * index_showsplit.scrub {multi||
|
|} * scope.range{(indexshowdetails)|end} index_start.scrub {single||||} index_start.modify {replace|.|:} index_title.scrub {single|||} index_rating.scrub {single|[||]<|]<} index_rating.modify {remove|]} index_rating.modify {clear('index_rating'=='index_title')} * index_urlshow {url|http://www.s-tv.ru/tv/ajaxinfo/|href="#ab||">|">} index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate} index_title.modify {remove(type=regex)| \[.+?\]} index_title.modify {remove(type=regex)|\.\s\d.*$} index_title.modify {remove(type=regex)|} index_title.modify {cleanup(tags="<"">")} end_scope * title.scrub {single|

||

|} description.scrub {multi|
|

|

|} description.modify {cleanup(tags="<"">")} director.scrub {single(separator=", ")|Режиссер:||
|
} producer.scrub {single(separator=", ")|Производство:||

|

} presenter.scrub {single(separator=", " max=2)|Ведущие:||
|
} actor.scrub {single(separator=", ")|В ролях:||
|
} * temp_1.scrub {single|

||

|

} category.scrub {single|Жанр:||

|

} category.modify {addstart('temp_1' not "")|'temp_1' } * productiondate.scrub {single|Год:||

|

} country.scrub {single(separator=", ")|Страна:||

|

} * ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** *i cant get the page to scrub,channel list manually created *********************************************************** ** @auto_xml_channel_start *url_index{url|http://www.s-tv.ru/tv/1tv/|urldate|/} *index_site_id.scrub {multi|
||
} *index_site_channel.scrub {multi|
|title="|"|
} *index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")} ** @auto_xml_channel_end