**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: tele.ch * @MinSWversion: * @Revision 0 - [17/03/2016] 1NSdbZVbpZDX * - creation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ site {url=tele.ch|timezone=Europe/Zurich|maxdays=18.1|cultureinfo=de-CH|charset=UTF-8|titlematchfactor=90|nopageoverlaps|firstshow=now} *site {ratingsystem=ES|episodesystem=onscreen|grabengine=|firstshow=0|firstday=0000000} urldate.format {daycounter|0} *subpage.format {number||1|} url_index{url|https://www.tele.ch/tv-programm/uebersicht/|channel|} url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages index_showsplit.scrub {multi|quicklist">|\n\s*(.*?)\s\(\d{2}||} index_title.modify {addstart('index_title' "")|To Be Announced} *index_urlchannellogo {url| } * index_urlshow.scrub {single |../sendung/||">|} index_urlshow.modify {addstart |https://www.tele.ch/tv-programm/sendung/} index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the detail pages * title.scrub {single|margin clear">|||} title.modify {addstart('title' "")|'index_title'} titleoriginal.scrub {single |Originaltitel: |||} subtitle.scrub {single ||class="margin">||
|} subtitle.modify {cleanup} description.scrub {single |||
|} description.modify {cleanup} description.modify {clear('description' "-")} director.scrub {single|director: |||} actor.scrub {multi |h2>Darsteller|[^,]*,(.*?)
||} country.modify {remove|'productiondate'} country.modify {cleanup} actor.modify {substring(type=regex)|"(.+?)\("} * * operations: ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *url_index {url |https://www.tele.ch/tv-programm/uebersicht/alle_sender} *index_site_channel.scrub {multi|A-Z|alt="|" />|} *index_site_id.scrub {multi|A-Z||} *scope.range {(channellist)|end} *index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")} *end_scope ** @auto_xml_channel_end