**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: fixed * @MinSWversion: * @Revision 0 - [11/12/2015] Francis De Paemeleere * none * @Remarks: * A SiteIni that creates a dummy xmltv guide with one or more show every day * Now for multiple channels and more detailed info * @header_end **------------------------------------------------------------------------------------------------ site {cultureinfo=en-GB|timezone=UTC|maxdays=30.1|charset=utf-8|skip=noskip|keepindexpage} url_index {url|http://this-page-intentionally-left-blank.org/} * just an empty page url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages index_showsplit.scrub {single||||} * copies the html page index_showsplit.modify {clear} scope.range {(splitindex)|end} * the show(s) for one day: index_variable_element.modify {addstart|'config_site_id'} * now create 30 days index_showsplit.modify {addstart|'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'} index_showsplit.modify {replace|####|\|} * convert to multi end_scope index_start.scrub {single|||-|-} index_stop.scrub {single|-||#|#} index_title.scrub {single|##title:||##|##} index_subtitle.scrub {single|##subtitle:||##|##} index_category.scrub {single|##category:||##|##} index_description.scrub {single|##description:||##|##} index_director.scrub {single|##director:||##|##} index_actor.scrub {single|##actor:||##|##} index_presenter.scrub {single|##presenter:||##|##} index_writer.scrub {single|##writer:||##|##} index_producer.scrub {single|##producer:||##|##} index_composer.scrub {single|##composer:||##|##} index_commentator.scrub {single|##commentator:||##|##} * split multi elements into separate values index_category.modify {replace|#_#|\|} index_director.modify {replace|#_#|\|} index_actor.modify {replace|#_#|\|} index_presenter.modify {replace|#_#|\|} index_writer.modify {replace|#_#|\|} index_producer.modify {replace|#_#|\|} index_composer.modify {replace|#_#|\|} index_commentator.modify {replace|#_#|\|}