**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: meuguia.tv * @MinSWversion: * @Revision 0 - [22/12/2015] 1NSdbZVbpZDX * - creation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ site {url=meuguia.tv|timezone=Brazil/East|maxdays=17.1|cultureinfo=pt-BR|charset=utf-8|titlematchfactor=90}|nopageoverlaps} *site {ratingsystem=ES|episodesystem=onscreen|grabengine=|firstshow=0|firstday=0000000} urldate.format {daycounter|0} url_index{url|http://meuguia.tv/programacao/|channel|} url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages index_showsplit.scrub {multi||||} index_category.scrub {single|class='metadados'>|||} index_category.modify {remove|} *index_urlchannellogo {url| } *index_stop.scrub {single|} *index_date.scrub {single|} * scope.range {(indexshowdetails)|end} index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the detail pages index_temp_1.scrub {regex||(.*?)" title=||} index_urlshow.modify {set('index_temp_1' not "")|http://meuguia.tv'index_temp_1'} end_scope * scope.range {(showdetails)|end} title.scrub {single(separator=": " include=first)|class="tit">|||} titleoriginal.scrub {single(separator=": " include=first)|tit_orig">|||} subtitle.scrub {single(separator=": " exclude=first)|class="tit">|||} *subtitle.scrub {single(separator=": " include=last)|tit_orig">|||}} description.scrub {single|var str="||";|} director.scrub {single|Direção:
|||} actor.scrub {single(separator=", ")|Elenco:
|||} episode.scrub {single(separator=": " exclude=first exclude=last)|tit_orig">|||}} productiondate.scrub {single||||} *presenter.scrub {single|} *producer.scrub {single|} *writer.scrub {single|} *composer.scrub {single|} *rating.scrub {multi|} *ratingicon.scrub {multi|} *category.scrub {single|} *starrating.scrub {single|} *episode.scrub {single|} *subtitles.scrub {single|} *premiere.scrub {single|} *previousshown.scrub {single|} end_scope * * operations: ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *url_index{url|http://meuguia.tv/programacao/categoria/Todos} *index_site_channel.scrub {multi(debug)|| \| ||} *index_site_channel.modify {addend| [Brazil]} *index_site_id.scrub {multi|programacao/||"|} *scope.range {(channellist)|end} *index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")} *end_scope ** @auto_xml_channel_end