**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: tvmagazine.com.br
* @MinSWversion:
* @Revision 1 - [13/06/2016] 1NSdbZVbpZDX
* general fixes
* @Revision 0 - [03/12/2015] 1NSdbZVbpZDX
* - creation
* @Remarks:
* @header_end
**------------------------------------------------------------------------------------------------
site {url=tvmagazine.com.br|timezone=Brazil/East|maxdays=7|cultureinfo=pt-BR|charset=iso-8859-1|titlematchfactor=60|nopageoverlaps}
*site {ratingsystem=ES|episodesystem=onscreen|grabengine=|firstshow=0|firstday=0000000}
urldate.format {datestring|dd/MM/yyyy}
url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages
url_index{url|http://www.tvmagazine.com.br/guia/canal/|channel|/|urldate|}
scope.range {(datelogo)|end}
index_variable_element.scrub {single|src="/imagens/icones/||"|}
index_variable_element.modify {remove|600}
index_urlchannellogo.modify {set|http://www.tvmagazine.com.br/imagens/icones/150'index_variable_element'}
end_scope
index_showsplit.scrub {multi |
||
|}
*index_subtitle.scrub {single(separator=": " exclude=first)|itemprop="url">||}
index_temp_1.scrub {single ||||}
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the detail pages
end_scope
scope.range {(showdetails)|end}
title.scrub {single(separator=": " include=first)|||
}
subtitle.scrub {single(separator=": " exclude=first)|||
}
titleoriginal.scrub {single|||}
description.scrub {single|itemprop="description">||}
description.modify {remove| TVMGZN.}
category.scrub {single(separator=" / ")|Gênero|||}
actor.scrub {single|Elenco|||}
director.scrub {single|Diretor|||}
productiondate.scrub {single|País e Ano|||}
*duration.scrub {single|Duração|||}
*duration.modify {calculate(notnull format=time)|60 /}
*ratingicon.scrub {single|Atributos|
|/>||}
rating.modify {remove|\n }
end_scope
* operations:
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
*provider codes (substitute in last part of url_index)
*Algar-TV,0
*Cabo-Telecom,0
*Claro-TV,0
*GVT-TV,0
*NET,0
*OI-TV,0
*Sim-TV,0
*SKY,0
*TV-Alphaville,0
*TVN-Digital,0
*Vivo-TV,0
*Vivo-Fibra-Plus,0
**
** @auto_xml_channel_start
*url_index{url|http://www.tvmagazine.com.br/guia/programacao,Algar-TV,0}
*index_site_channel.scrub {multi|![]()