epg/siteini.pack/Argentina/avcsa.com.ar.ini
freearhey a597b11307 Init
2021-03-09 22:46:37 +03:00

99 lines
5.2 KiB
INI
Executable file

**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: avcsa.com.ar
* @MinSWversion:
* @Revision 0 - [24/04/2016] Blackbear199
* - creation
* @Remarks: based on reportv.com.ar, change aid=2295 to aid=1987
* @header_end
**------------------------------------------------------------------------------------------------
site {url=avcsa.com.ar|timezone=America/Argentina/Buenos_Aires|maxdays=21|cultureinfo=es-AR|charset=UTF-8|titlematchfactor=90|nopageoverlaps}
site {ratingsystem=ES|episodesystem=onscreen}
*-----------------------------------------------------------------
* for faster grabbing set maxday=11.1,maxdays of epg drops to 11.
*-----------------------------------------------------------------
url_index{url|http://181.30.4.186/buscador/ProgXSenial.php}
urldate.format {datestring|yyyy"%2F"MM"%2F"dd}
*
scope.range{(urlindex)|end}
index_temp_1.modify {set|'config_xmltv_id'}
index_temp_1.modify {replace| |+}
end_scope
*
url_index.headers {method=POST|contenttype=application/x-www-form-urlencoded}
url_index.headers {customheader=X-Requested-With=XMLHttpRequest}
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
url_index.headers {postdata=idSenial='channel'&Senial='index_temp_1'&Alineacion=1987&DiaDesde='urldate'&HoraDesde=00%3A00%3A00}
*
index_urlchannellogo {url(scope=datelogo)|http://181.30.4.186/buscador/img/Logos/|<img src='./img/Logos/||'|'}
*
index_showsplit.scrub {regex||(<div id="trProg.*?)<span></span></div></div>||}
*
index_start.scrub {single(separator=" - " include=last)|title="||"|"}
*index_duration.scrub {regex||<span>(\d{2}:\d{2}:\d{2})</span>||} *leave disabled until release version 56.29 with date calculation bug fixed
index_title.scrub {regex||<span>\d{2}:\d{2}\s-\s(.+?)</span>||}
index_category.scrub {multi (include=first)|width:158px;|class="trProgCell" |</span>|</div><div}
index_category.modify {remove |><span>}
*
index_urlshow.modify {addstart|https://www.reportv.com.ar/buscador/DetallePrograma.php}
index_urlshow.headers {method=POST|contenttype=application/x-www-form-urlencoded}
index_urlshow.headers {customheader=X-Requested-With=XMLHttpRequest}
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate}
*
scope.range {(indexshowdetails)|end}
index_temp_3.scrub {single |onclick="detallePrograma(||,'|}
index_temp_4.modify {substring (type=regex)|'index_temp_3' "(^\d*),"} *id
index_temp_5.modify {substring (type=regex)|'index_temp_3' "^\d*,(\d*)"} *idc
index_temp_6.modify {substring (type=regex)|'index_temp_3' "^\d*,\d*,\d*,(\d*)"} *idp
index_variable_element.modify {clear}
index_variable_element.modify {addstart |id='index_temp_4'&idc='index_temp_5'&id_alineacion=1987&idp='index_temp_6'}
index_urlshow.headers {postdata='index_variable_element'}
end_scope
*
scope.range {(showdetails)|end}
title.scrub {single |class="lable">Título:|</label>||<br>}
title.modify {cleanup}
temp_1.scrub {single|<label class="lable">Temporada:|</label>||<br/>}
temp_1.modify {addstart (notnull)|S.}
temp_1.modify {remove |<br/>}
temp_1.modify {addend (notnull)|-}
subtitle.scrub {single|<label class="lable">Episodio:|</label> ||<br/>}
subtitle.modify {addstart (notnull)|'temp_1'Ep.}
subtitle.modify {cleanup (tags="<"">")}
description.scrub {single |<div class="inner" >||</div>|}
description.modify {remove |No hay información disponible.}
description.scrub {single |<label class="lable">Detalle:|</label>|<br>|</div>}
description.modify {cleanup (tags="<"">")}
temp_2.modify {addstart |'description'}
temp_2.modify {substring (type=regex)|"(\?\w.*?\?)"}
temp_2.modify {replace |?|"}
description.modify {replace (type=regex)|"(\?\w.*?\?)"|'temp_2'}
director.scrub {multi |<label class="lable">Directores:|<a href='#' >|</a></span>|lable">Año:}
actor.scrub {multi |<label class="lable">Actores:|<a href='#' >|</a></span>|lable">Directores:}
category.scrub {single|class="lable">Género:|</label>||}
category.modify {cleanup (tags="<"">")}
category.modify {remove | Audio:}
productiondate.scrub {single |<label class="lable">Año:|</label>||}
country.scrub {single |<label class="lable">Pais:|</label>||<br>}
country.modify {cleanup}
episode.scrub {regex ||(?:lable">Episodio:).*?>\s(\d*)||}
episode.modify {addstart (notnull)|'temp_1'Ep.}
showicon.scrub {single |<img id="ImgProg"|src=".|"|>}
showicon.modify {addstart(notnull)|https://www.reportv.com.ar/buscador}
end_scope
*
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** http://www.gigared.com.ar/buscador.html -> http://181.30.4.186/buscador/Buscador.php?aid=1987
**
** @auto_xml_channel_start
*url_index{url|http://181.30.4.186/buscador/Buscador.php?aid=1987}
*index_site_channel.scrub {multi (exclude=first)|id="span_canal">|'>|</option>|</select></td>}
*index_site_id.scrub {multi (exclude=first)|id="span_canal">|<option value='|'>|</select></td>}
*scope.range {(channellist)|end}
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
*end_scope
** @auto_xml_channel_end