Init
This commit is contained in:
96
siteini.pack/Networks/foxplay.com.ini
Executable file
96
siteini.pack/Networks/foxplay.com.ini
Executable file
@@ -0,0 +1,96 @@
|
||||
**------------------------------------------------------------------------------------------------
|
||||
* @header_start
|
||||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||||
* @Site: foxplay.com
|
||||
* @MinSWversion:
|
||||
* @Revision 1 - [15/03/2017] 1NSdbZVbpZDX
|
||||
* - added channel file creation
|
||||
* @Revision 0 - [10/11/2015] 1NSdbZVbpZDX
|
||||
* - creation
|
||||
* @Remarks:
|
||||
* @header_end
|
||||
**------------------------------------------------------------------------------------------------
|
||||
|
||||
site {url=foxplay.com|timezone=UTC+00:00|maxdays=6|cultureinfo=es-AR|charset=UTF-8|titlematchfactor=90|nopageoverlaps|keepindex_page}
|
||||
*site {ratingsystem=ES|episodesystem=onscreen|grabengine=|firstshow=0|firstday=today}
|
||||
|
||||
urldate.format {list |today|{datestring|yyy-MM-dd|es-AR}}
|
||||
*urldate.format {datestring |yyyy-MM-dd}
|
||||
*url_index{url|http://www.foxplay.com/bo/listings/2015-11-11}
|
||||
url_index{url|http://www.foxplay.com/bo/listings/|urldate|}
|
||||
url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages
|
||||
|
||||
index_variable_element.modify {set |'config_site_id'}
|
||||
index_showsplit.scrub {multi|class="row 'index_variable_element'|<div class="relative">|</span></a></div>|<div id="modal"}
|
||||
|
||||
index_title.scrub {single|<h2>||</h2>}
|
||||
index_title.modify {cleanup}
|
||||
index_start.scrub {single|</h2>|<h4>| / |}
|
||||
index_stop.scrub {regex|| / ([0-2][0-3]:[0-5][0-9]) </h4><div||}
|
||||
index_date.scrub {single |content="http://www.foxplay.com/bo/listings/||"/><meta|}
|
||||
index_date.modify {calculate(format=utcdate,yyyy-MM-dd)}
|
||||
|
||||
index_showicon.scrub {single |data-image="||"><span|class="vectors}
|
||||
index_showicon.modify {remove|False}
|
||||
|
||||
scope.range {(indexshowdetails)|end}
|
||||
index_temp_1.scrub {regex||data-show-name="(.*?)"||}
|
||||
index_temp_1.modify {cleanup}
|
||||
index_temp_2.scrub {regex||data-show-channel="(.*?)"||}
|
||||
index_temp_3.scrub {regex||data-show-prod="(\d+)"||}
|
||||
index_temp_4.scrub {regex||data-show-episode="(\d+)"||}
|
||||
index_temp_5.scrub {regex||data-day="(\d{4}-\d{2}-\d{2})"||}
|
||||
index_temp_6.scrub {regex||data-programming-system="(.*?)"||}
|
||||
index_variable_element {clear}
|
||||
index_variable_element.modify {set|day='index_temp_5'&channel='index_temp_2'&showName='index_temp_1'&prodId='index_temp_3'&id_episode='index_temp_4'&programmingSystem='index_temp_6'&dataImage='index_showicon'}
|
||||
*index_urlshow.modify {set |http://www.foxplay.com/bo/ajax/listing/index.html?day='index_temp_5'&channel='index_temp_2'&showName='index_temp_1'&prodId='index_temp_3'&id_episode='index_temp_4'&programmingSystem='index_temp_6'}
|
||||
*day=2016-11-02&channel=fox&showName=Los%20Simpson:El%20Hombre%20que%20Creci%C3%B3%20Mucho&prodId=125&id_episode=178927&programmingSystem=paradigm&dataImage=False
|
||||
index_urlshow.modify {set|http://www.foxplay.com/bo/ajax/listing/index.html?'index_variable_element'}
|
||||
urlshow.headers {customheader=Accept-Encoding=gzip,deflate}
|
||||
end_scope
|
||||
scope.range {(showdetails)|end}
|
||||
title.scrub {single|alt="||"|}
|
||||
titleoriginal.scrub {regex ||class="mb10">.*?\((.*?)\)<\/h5><div||}
|
||||
subtitle.scrub {regex||<p><b>(.*?)</b></p>||}
|
||||
subtitle.modify {cleanup (style=name)}
|
||||
description.scrub {regex||<p>([^"]*)<\/p>||}
|
||||
description.modify {cleanup(tags="<b>""</b></p>")}
|
||||
description.modify {cleanup(tags="<"">")}
|
||||
description.modify {remove(notnull type=regex)|(:?Reparto:.*)}
|
||||
description.modify {replace ||"}
|
||||
productiondate.scrub {single|<span>||</span>|}
|
||||
director.scrub {single|Dirección:|</strong> |</p>|</div>}
|
||||
actor.scrub {single(separator=", ")|Reparto:|</strong> |</p><p>|<strong>}
|
||||
rating.scrub {single|class="ml5">||</strong>|}
|
||||
end_scope
|
||||
|
||||
*presenter.scrub {single|}
|
||||
*producer.scrub {single|}
|
||||
*writer.scrub {single|}
|
||||
*composer.scrub {single|}
|
||||
|
||||
*ratingicon.scrub {multi|}
|
||||
*category.scrub {single|}
|
||||
*productiondate.scrub {single|}
|
||||
*starrating.scrub {single|}
|
||||
*episode.scrub {single|}
|
||||
*subtitles.scrub {single|}
|
||||
*premiere.scrub {single|}
|
||||
*previousshown.scrub {single|}
|
||||
|
||||
*
|
||||
* operations:
|
||||
**replace xx (2 digits country code) ex:http://www.foxplay.com/xx/for matching your LatAm country
|
||||
**valid Latin America/Caribe codes:(mx|sm|lc|mf|st|ni|mx|gy|gt|gf|sv|ec|do|cr|cl|bo|bb|ar|co|cr|gd|hn|pa|pv|pe|pr|uy|ve)
|
||||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||||
**
|
||||
** @auto_xml_channel_start
|
||||
*index_site_channel.scrub {multi|<div class="row ||"><div class}
|
||||
*index_site_id.scrub {multi|<div class="row ||"><div class}
|
||||
*scope.range {(channellist)|end}
|
||||
*index_site_channel.modify {remove(type=regex)|\s\w+$}
|
||||
*index_site_channel.modify {replace|-| }
|
||||
*index_site_channel.modify {cleanup (style=name)}
|
||||
*end_scope
|
||||
** @auto_xml_channel_end
|
||||
Reference in New Issue
Block a user