epg/siteini.pack/Networks/canalplus-caledonie.com.ini

106 lines
4.7 KiB
INI
Executable File

**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: canalplus-New Caledonia
* @MinSWversion: V1.1.1/53
* none
* @Revision 3 - [29/03/2014] Willy de Wilde
* new website
* @Revision 2 - [28/05/2012] Willy de Wilde
* change in index_variable_element (config_xmltv_id)
* @Revision 1 - []
* none
* @Remarks:
* Country Reunion
* @header_end
**------------------------------------------------------------------------------------------------
*
site {url=canalplus-caledonie.com|timezone=Pacific/Noumea|maxdays=6|cultureinfo=fr|charset=UTF-8|titlematchfactor=90|retry=<retry time-out="10">3</retry>} *SUMMER
*site {url=canalplus-reunion.com|timezone=UTC+11:00|maxdays=7|cultureinfo=fr|charset=UTF-8|titlematchfactor=90|retry=<retry time-out="10">3</retry>} *winter
url_index{url()|http://service.canal-overseas.com/ott-frontend/vector/73001/channel/|channel|/events?filter.day=|urldate|}
*http://service.canal-overseas.com/ott-frontend/vector/63001/channel/4020/events?filter.day=4
*
urldate.format {list|0|1|2|3|4|5|6|7}
*
index_date.scrub {single (force includeblock=2)|endTime":||,}
index_date.modify {calculate(format=utcdate,dd-MM-yyyy)}
index_date.modify {calculate(format=utcdate,dd-MM-yyyy)}
index_showsplit.scrub {multi()|"title":||}
index_start.scrub {single()|startTime":||,}
index_start.modify {calculate(format=utcdate,HH:mm)}
index_title.scrub {single()|"||"}
index_urlshow {url ()||"URLPage":"||"}
*index_category.scrub {single()|"subtitle":"||"}
*index_episode.scrub {single(include="pisode")|<span class="descriptif">||</span}
*
* the following lines create a channel file (needs editing)
*url_index{url()|http://service.canal-overseas.com/ott-frontend/vector/73001/channels?filter.day=0}
*index_site_channel.scrub {multi|"name":"||"|}
*index_site_id.scrub {multi|"name":"|epgID":"|"|}
*
*title.scrub {single()|<div id="cine_fiche_popin">|<h1 class="clear">|</h1>|</div}
title.modify {addstart|'index_title'}
*titleoriginal.scrub {single|<div id="cine_fiche_popin">|Titre original :</strong>|</p>}
description.scrub {multi ()|"summary":"||"}
subtitle.scrub {single|"subtitle":"||"}
director.scrub {multi(separator=",")|"De :","content":"||"}
actor.scrub {single(separator=",")|"Avec :","content":"||"}
*presenter.scrub {single(separator=" Presentatie: " exclude=first|<div class="block-programme-content-story">|<p>|</p>|</div>}
*productiondate.scrub {single()|"editorialTitle":"||"}
temp_1.scrub {single (separator="," exclude=last) |"editorialTitle":"||"}
*
*For classical credits - remove the next lines
category.modify {cleanup(removeduplicates)}
category.modify {cleanup}
description.modify {addend('director' not "" separator=", ")|\n'director'}
description.modify {addend('actor' not "" separator=", ")|\n'actor'}
actor.modify {remove|'actor'}
director.modify {remove|'director'}
subtitle.modify {addstart ('titleoriginal' not "") | ('titleoriginal')}
subtitle.modify {addend ('episode' not "") | ('episode')}
subtitle.modify {addend ('productiondate' not "") | ('productiondate')}
subtitle.modify {addstart ('category' not "") |['category'] }
subtitle.modify {addend ('rating' > "1") | ['rating'] }
subtitle.modify {addstart ('temp_1' not "" separator=", ") |['temp_1'] }
rating.modify {clear}
episode.modify {clear}
category.modify {clear}
productiondate.modify {clear}
titleoriginal.modify {clear}
writer.modify {clear}
producer.modify {clear}
composer.modify {clear}
starrating.modify {clear}
rating.modify {clear}
presenter.modify {clear}
starrating.modify {clear}
videoquality.modify {clear}
videoaspect.modify {clear}
index_category.modify {cleanup(removeduplicates)}
index_category.modify {cleanup}
index_description.modify {addend ('index_director' not "" separator=", " )|\n'index_director'}
index_description.modify {addend ('index_actor' not "" separator=", " )|\n'index_actor'}
index_description.modify {addend ('index_presenter' not "" separator=", " )|\n'index_presenter'}
index_subtitle.modify {addstart ('index_titleoriginal' not "") | ('index_titleoriginal')}
index_subtitle.modify {addend ('index_episode' not "") | ('index_episode')}
index_subtitle.modify {addend ('index_productiondate' not "") | ('index_productiondate')}
index_subtitle.modify {addstart ('index_category' not "") |['index_category'] }
index_subtitle.modify {addend ('index_rating' > "1") | ['index_rating'] }
index_rating.modify {clear}
index_productiondate.modify {clear}
index_titleoriginal.modify {clear}
index_actor.modify {clear}
index_director.modify {clear}
index_presenter.modify {clear}
index_episode.modify {clear}
index_category.modify {clear}
index_videoquality.modify {clear}