Init
This commit is contained in:
67
siteini.pack/Brazil/foxplaybrasil.com.br.ini
Executable file
67
siteini.pack/Brazil/foxplaybrasil.com.br.ini
Executable file
@@ -0,0 +1,67 @@
|
||||
**------------------------------------------------------------------------------------------------
|
||||
* @header_start
|
||||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||||
* @Site: foxplaybrasil.com.br
|
||||
* @MinSWversion: V1.57
|
||||
* @Revision 0 - [dd/MM/2016] Blackbear199
|
||||
* - creation
|
||||
* @Remarks:
|
||||
* @header_end
|
||||
**------------------------------------------------------------------------------------------------
|
||||
site {url=foxplaybrasil.com.br|timezone=Brazil/East|maxdays=14|cultureinfo=pt-BR|charset=UTF-8|titlematchfactor=90}
|
||||
site {ratingsystem=PT|episodesystem=onscreen|keepindexpage|retry=<retry time-out="20">4</retry>}
|
||||
*
|
||||
url_index{url|http://www.foxplaybrasil.com.br/br/listings/|urldate|}
|
||||
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
||||
*
|
||||
urldate.format {datestring|yyyy-MM-dd}
|
||||
*
|
||||
index_variable_element.modify {set|'config_site_id'}
|
||||
index_showsplit.scrub {regex||<div class="row\s'index_variable_element'\s.*?</div></div></div></div>||}
|
||||
index_showsplit.modify {substring(type=regex)|"<div class=\"relative\">.*?<\/div><\/div><\/div>"}
|
||||
*
|
||||
index_urlchannellogo.modify {addstart|http://cdn.foxplay.com/sites/foxplay-la/files/img/logo-channels/'index_variable_element'.png}
|
||||
*
|
||||
scope.range{(indexshowdetails)|end}
|
||||
index_start.scrub {single(separator=" / " include=first)|<h4>||</h4>|</h4>}
|
||||
index_stop.scrub {single|single(separator=" / " include=last)|<h4>||</h4>|</h4>}
|
||||
index_title.scrub {single(separator=":" include=first)|<h2>||</h2>|</h2>}
|
||||
index_title.modify {cleanup}
|
||||
*
|
||||
index_temp_1.scrub {single|data-show-name="||"|"}
|
||||
index_temp_1.modify {cleanup(style=urlencode)}
|
||||
index_temp_2.scrub {single|data-show-channel="||"|"}
|
||||
index_temp_2.modify {cleanup(style=urlencode)}
|
||||
index_temp_3.scrub {single|data-show-prod="||"|"}
|
||||
index_temp_3.modify {cleanup(style=urlencode)}
|
||||
index_temp_4.scrub {single|data-show-episode="||"|"}
|
||||
index_temp_4.modify {cleanup(style=urlencode)}
|
||||
index_temp_5.scrub {single|data-show-parrating="||"|"}
|
||||
index_temp_5.modify {cleanup(style=urlencode)}
|
||||
index_urlshow.modify {addstart('index_temp_1' not "")|http://www.foxplaybrasil.com.br/br/ajax/listing/index.html?showName='index_temp_1'&channel='index_temp_2'&prodId='index_temp_3'&id_episode='index_temp_4'&parrating='index_temp_5'}
|
||||
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate}
|
||||
end_scope
|
||||
*
|
||||
scope.range{(showdetails)|end}
|
||||
title.scrub {single(separator=":" include=first)|<h5 class="mb10">||</h5>|</h5>}
|
||||
subtitle.scrub {single|</div><p><b>||</b>|</b>}
|
||||
description.scrub {single|</b></p><p>||</p>|</p>}
|
||||
rating.scrub {single|<div class="sectionDetail mb10">|<img src="//cdn-flac.ficfiles.com/sites/common/objects/img/pg/fptool-pg-|.png"/>|</div>}
|
||||
ratingicon.scrub {single|<b>Classificação indicativa:</b>|<img src="|"/>|</p>}
|
||||
productiondate.scrub {single|<b>Ano de produção:</b>||</p>|</p>}
|
||||
country.scrub {single|<b>Pais de origem:</b>||</p>|</p>}
|
||||
showicon.scrub {single|<img src="||"|"}
|
||||
showicon.modify {addstart(not "")|http:}
|
||||
*
|
||||
subtitle.modify {clear('title')}
|
||||
ratingicon.modify {addstart(not "")|http:}
|
||||
end_scope
|
||||
*
|
||||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||||
**
|
||||
** @auto_xml_channel_start
|
||||
*index_site_id.scrub {multi|id="schedule"|<li class="|">|</ol>}
|
||||
*index_site_id.modify {substring(type=regex)|"^[^ ]*\s([^ ]*)\s"}
|
||||
*index_site_channel.scrub {multi|id="schedule"|title="|"|</ol>}
|
||||
** @auto_xml_channel_end
|
||||
Reference in New Issue
Block a user