**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: staseraintv.com * @MinSWversion: V1.1.1/54 * @Revision 1 - [01/06/2016] Blackbear199 * - showsplit fix * @Revision 0 - [25/09/2015] Francis De Paemeleere * - creation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ site {url=staseraintv.com|timezone=Europe/Rome|maxdays=2|cultureinfo=it-IT|charset=UTF-8|titlematchfactor=90|nopageoverlaps} urldate.format {list|stasera|domani|{datestring|dddd_dd_MMMM_yyy}} url_index{url|http://www.staseraintv.com/programmi_|urldate|_|channel|.html} url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages scope.range {(urlindex)|end} url_index.modify {replace|ì|i} end_scope index_showsplit.scrub {multi(separator="
" exclude=last)|
||
} index_start.scrub {regex||^\s*([0-2]\d\:[0-5]\d)||} index_start.modify {replace(type=regex)|24:|00:} index_title.scrub {regex||^[^-]*-\s*(.*?)$||} ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *------------------------------------------------------------------------------ * channels page - some may not have any listings.enable only 1 *------------------------------------------------------------------------------ *url_index{url|http://www.staseraintv.com/canali_digitale_terrestre.html} *index_site_id.scrub {regex||(.*?).*?([^<]*).*/lista-canali/scheda_.*?.html} *index_site_id.modify {substring(type=regex) |.*?.*?[^<]*.*/lista-canali/scheda_(.*?).html} *index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")} *end_scope *-------------------------------------------------------------------------------- * active channels - channels that have listings.enable only 1 *-------------------------------------------------------------------------------- *url_index{url|http://www.staseraintv.com/index|subpage|.html} *subpage.format{list||1|2|3|4|5|6|7|8|9} *index_site_id.scrub {multi|onClick="window.location.href='/programmi_stasera_||.html'">|.html'">} *index_site_channel.scrub {multi|
|} *index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")} ** @auto_xml_channel_end