**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: gatotv.com * @MinSWversion: * @Revision 7 - [21/12/2020] Blackbear199 * - site changes * @Revision 6 - [20/05/2018] Blackbear199 * - site changes * @Revision 5 - [17/09/2017] Blackbear199 * - start/stop time fix * @Revision 4 - [25/07/2016] IvanRF * - date replace fix * @Revision 3 - [22/04/2016] 1NSdbZVbpZDX * - episode fix, added show details * @Revision 2 - [05/01/2016] Francis De Paemeleere * - remove debug content * @Revision 1 - [26/02/2015] Francis De Paemeleere * - remove new lines from title, ... * @Revision 0 - [17/02/2015] Francis De Paemeleere * - creation * @Remarks: use local timezone * @header_end **------------------------------------------------------------------------------------------------ site {url=gatotv.com|timezone=America/Halifax|maxdays=7|cultureinfo=es-MX|charset=UTF-8|titlematchfactor=90|allowlastdayoverflow|firstshow=1} site {episodesystem=onscreen|ratingsystem=MX} url_index{url|https://www.gatotv.com/canal/|channel|/|urldate|} url_index.headers {customheader=Accept-Encoding=gzip,deflate} urldate.format {datestring|yyyy-MM-dd} index_urlchannellogo {url||
|src="|"|
} index_showsplit.scrub {regex||(?:.*?)(?:(.*?)(?:.*?))*
||} scope.range {(splitindex)|end} index_showsplit.modify {replace(type=regex)|" \!\?\?\! "|-} index_showsplit.modify {replace|tbl_EPG_TimesColumnOutOfSchedule|tbl_EPG_TimesColumn} index_showsplit.modify {cleanup(removeduplicates span=1)} *index_showsplit.modify {(debug)} end_scope index_urlshow {url|||">||} index_stop.scrub {multi(includeblock=2)|class="tbl_EPG_TimesColumn">|">||} index_title.scrub {single|
||
|} index_episode.scrub {single(pattern="Temporada 'S1'-Episodio 'E1'""Temporada 'S1'""Episodio 'E1'")|
|||
} index_subtitle.scrub {multi(excludeblock="")|
||
|} index_showicon.scrub {single|")} title.scrub {single|itemprop="name">|||} titleoriginal.scrub {single|Título en Idioma Original:|nowrap" >||} description.scrub {single|Sinopsis|">||} actor.scrub {multi|itemprop="actors"|itemprop="name">|||
|} category.scrub {multi|Tipo:|nowrap" >||} producer.scrub {multi|itemprop="producer"|nowrap" >||} composer.scrub {multi|Música:|nowrap" >||} rating.scrub {single|Clasificación:|nowrap" >||} starrating.scrub {single||" />} writer.scrub {multi|Creado Por:|nowrap" >||} productiondate.scrub {single|Año:|nowrap" >||} country.scrub {single|Paises de Origen:|nowrap" >||} * titleoriginal.modify {clear('title')} titleoriginal.modify {addend(not "")|(lang=en) description.modify {cleanup(tags="<"">")} starrating.modify {calculate(not "" format=F1)} ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *url_index{url|http://www.gatotv.com/guia_tv/completa} *index_site_id.scrub {regex||class=\"\s*tbl_EPG_row[^>]*>(.*?)||} *scope.range {(channellist)|end} *index_site_channel.modify {addstart|'index_site_id'} *index_site_id.modify {substring(type=regex)|]*.*?href=\"([^\"]*)\"[^>]*title=\"[^\"]*\"[^>]*>} *index_site_id.modify {remove|https://www.gatotv.com/canal/} *index_site_channel.modify {substring(type=regex)|]*.*?href=\"[^\"]*\"[^>]*title=\"([^\"]*)\"[^>]*>} *index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")} *end_scope ** @auto_xml_channel_end