Init
This commit is contained in:
44
siteini.pack/Spain/syfy.es.ini
Executable file
44
siteini.pack/Spain/syfy.es.ini
Executable file
@@ -0,0 +1,44 @@
|
||||
**------------------------------------------------------------------------------------------------
|
||||
* @header_start
|
||||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||||
* @Site: syfy.es
|
||||
* @MinSWversion: V0
|
||||
* none
|
||||
* @Revision 2 - [27/05/2013] Jan van Straaten
|
||||
* complete new due to site changes
|
||||
* @Revision 1 - [15/06/2012] Mayankel / Miguel A. Peirats
|
||||
* none
|
||||
* @Remarks:
|
||||
* none
|
||||
* @header_end
|
||||
**------------------------------------------------------------------------------------------------
|
||||
|
||||
site {url=syfy.es|timezone=UTC+01:00|maxdays=28|cultureinfo=es-ES|charset=UTF-8|titlematchfactor=90}
|
||||
site {episodesystem=onscreen}
|
||||
*
|
||||
url_index{url|http://www.syfy.es/schedule/|urldate|}
|
||||
*http://www.syfy.es/schedule/2013-5-27
|
||||
*new http://www.syfy.es/programacion#Mañana
|
||||
*urldate.format {datestring|"year/"yyyy"/month/"MM"/day/"dd}
|
||||
urldate.format {datestring|yyy-M-dd}
|
||||
*
|
||||
index_showsplit.scrub {multi|<div class="schedule">|<div class="schedule-row summary-item"||<div class="region region-sidebar-last">}
|
||||
index_start.scrub {single|<div class="program-time schedule-cell">||</div>|</div>}
|
||||
index_title.scrub {single (separator=": " include=first)|<div class="program-info schedule-cell">|<h4>|</h4>|<div}
|
||||
index_subtitle.scrub {single (separator=": " exclude=first)|<div class="program-info schedule-cell">|<h4>|</h4>|</h4>}
|
||||
index_description.scrub {single|<div class="program-synopsis summary">|<p>|</p>|</p>}
|
||||
index_episode.scrub {single(separator=":" include=first)|<div class="program-info schedule-cell">|<p>|</p>|<div}
|
||||
index_subtitle.scrub {single(separator=":" exclude=first)|<div class="program-info schedule-cell">|<p>|</p>|<div}
|
||||
* extract temporada from title
|
||||
index_temp_1.modify {calculate(type=char format=F0)|'index_title' "Temporada" @} * position of temporada
|
||||
index_temp_2.modify {substring('index_temp_1' not "-1" type=char)|'index_title' 'index_temp_1'}
|
||||
index_episode.modify {addstart('index_temp_1' not "-1")|'index_temp_2', }
|
||||
index_title.modify {remove|'index_temp_2'}
|
||||
* there can be a temporada in the split off part of the title:
|
||||
index_temp_6.scrub {single (separator=": " exclude=first)|<div class="program-info schedule-cell">|<h4>|</h4>|</h4>} *subtitle from title
|
||||
index_temp_3.modify {calculate(type=char format=F0)|'index_temp_6' "Temporada" @} * position of temporada
|
||||
index_temp_4.modify {substring('index_temp_3' not "-1" type=char)|'index_temp_6' 'index_temp_3'}
|
||||
index_episode.modify {addstart('index_temp_3' not "-1")|'index_temp_4', }
|
||||
index_subtitle.modify {remove|'index_temp_4'}
|
||||
index_title.modify {cleanup}
|
||||
index_subtitle.modify {cleanup}
|
||||
Reference in New Issue
Block a user