**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: tvplus.com.br
* @MinSWversion: V2.1
* @Revision 0 - [29/07/2018] Mat8861 *
* - creation
* @Remarks:
* @header_end
**------------------------------------------------------------------------------------------------
site {url=tvplus.com.br|timezone=Brazil/East|maxdays=18|cultureinfo=pt-BR|charset=utf-8|titlematchfactor=90|nopageoverlaps}
urldate.format {datestring|yyyy-MM-dd}
url_index{url|http://www.tvplus.com.br/canal-|channel|-|urldate|}
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
global_temp_1.modify{set|'config_site_id'}
global_temp_1.modify{cleanup(style=lower)}
index_urlchannellogo.modify {addstart|https://i.meuguia.tv/logos/new/'global_temp_1'.png }
index_showsplit.scrub {multi||||}
index_start.scrub{regex||\s+(\d{2}h\d{2})\s-\s\d{2}h\d{2}\s+
||}
index_stop.scrub{regex||\s+(\d{2}h\d{2})\s-\s\d{2}h\d{2}\s+
||}
index_start.modify{replace|h|:}
index_stop.modify{replace|h|:}
index_title.scrub {single||
|}
index_title.modify {cleanup(tags="<"">")}
index_description.scrub{single|}
index_temp_1.scrub {single|||}
index_temp_2.modify{substring(type=regex)|'index_temp_1' "([Tt](?:emp)?\.?\s*\d+)"}
index_temp_3.modify{substring(type=regex)|'index_temp_1' "([Ee]p(?:isode)?\.?\s*\d+)"}
index_episode.modify{addstart(pattern="Temp. 'S1' Ep. 'E1'""Temp. 'S1'""Ep. 'E1'")|'index_temp_2' 'index_temp_3'}
index_temp_4.scrub{single|}
index_productiondate.modify{substring(type=regex)|'index_description' "^(\d{4})\."}
index_category.modify{substring(type=regex)|'index_description' "^?\d{4}?\.\s([^.]*)\.\s"}
index_director.modify{substring(type=regex)|'index_description' "\.\sDe\s([^.]*)\."}
index_actor.modify{substring(type=regex)|'index_temp_4' "\.\sCom\s([^,]*)\,\s"}
index_temp_6.modify{substring(type=regex)|'index_temp_4' "\.\sCom.*?\,\s([^.]*)\."}
index_actor.modify{addend|\|'index_temp_6'}
index_description.modify{remove(type=regex)|^(\d{4}\.\s?.*?\sDe\s[^.]*\.?\sCom[^.]*\.)}
*
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
*url_index{url|http://www.tvplus.com.br/|subpage|}
*subpage.format{list|genero-adulto|genero-documentario|genero-esporte|genero-filme|genero-infantil|genero-internacional|genero-musica|genero-noticia|genero-serie|genero-noticia|genero-tvaberta|genero-variedade}
*index_site_channel.scrub {multi|
|">||}
*index_site_id.scrub {multi|
|