**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: tele.at * @MinSWversion: V1.1.1/52 * @Revision 1 - [02/09/2013] Speedy666 / Francis De Paemeleere * - adding more details from the detail page * - fix show time issue (= remove index_stop, because there are show groups) * @Revision 0 - [16/04/2013] Francis De Paemeleere * - creation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ site {url=m.tele.at|timezone=UTC+01:00|maxdays=14|cultureinfo=de-AT|charset=utf-8|titlematchfactor=90|ratingsystem=AT|subtitlestype=deaf-signed|episodesystem=onscreen} url_index{url|http://m.tele.at/programm.html?stationType=1&filter[station]=|channel|} scope.range {(urlindex)|end} * special site. it uses subpages in the POST date. this means multiple POSTs for one day * and the subpage strings itself, contain a date that is extracted from urldate index_variable_element.modify {calculate(format=date,dd.MM.yyyy)|'urldate'} subpage.format {list|00|03|06|09|12|15|18|21} url_index.headers {method=POST|application/x-www-form-urlencoded} url_index.headers {postdata=filter%5BstartTime%5D='subpage'%3A00&filter%5BstartDate%5D='index_variable_element'} end_scope index_showsplit.scrub {single()||||} scope.range {(splitindex)|end} index_showsplit.modify {substring(type=regex)|
(.*?)
} index_showsplit.modify {cleanup(removeduplicates=equal)} * remove any duplicate show end_scope index_start.scrub {single(separator=" - " include=1)|} scope.range {(showdetails)|end} videoquality.modify {replace(not="" type=regex)|"^(.*)$"|HD} videoaspect.modify {replace(not="" type=regex)|"^(.*)$"|16:9} premiere.modify {replace(not="" type=regex)|"^(.*)$"|true} subtitles.modify {replace(not="" type=regex)|"^(.*)$"|true} actor.modify {remove|Mit: } description.modify {cleanup(tags="<"">")} starrating.modify {addend(not="")|/4} end_scope ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *url_index{url|http://www.tele.at/programm/heute-im-tv.html} *index_site_id.scrub {multi()|Listing.setStation|?station=|'|} *index_site_channel.scrub {multi()|Listing.setStation|>||} ** @auto_xml_channel_end