63 lines
2.8 KiB
INI
Executable File
63 lines
2.8 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: canalplus-Maurice
|
|
* @MinSWversion: V1.1.1/53
|
|
* none
|
|
* @Revision 4 - [11/05/2017] Netuddki
|
|
* rewrite
|
|
* @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-maurice.com|timezone=UTC|maxdays=7|cultureinfo=fr|charset=UTF-8|titlematchfactor=90|
|
|
*site {retry=<retry time-out="10">3</retry>}
|
|
*
|
|
*site {episodesystem=onscreen} *Enable for Onscreen Episode System
|
|
site {episodesystem=xmltv_ns} *Enable for xmltv_ns Episode System
|
|
*
|
|
url_index{url()|http://service.canal-overseas.com/ott-frontend/vector/63101/channel/|channel|/events?filter.day=|urldate|}
|
|
*
|
|
urldate.format {list|0|1|2|3|4|5|6|7}
|
|
*
|
|
index_showsplit.scrub {regex||{(.*?)}||}
|
|
index_start.scrub {regex||"startTime":(.*?),||}
|
|
index_stop.scrub {regex||"endTime":(.*?),||} *disable if it gives error
|
|
index_title.scrub {regex||"title":"(.*?)","||}
|
|
index_urlshow {regex||"URLPage":"(.*?)","||}
|
|
index_title.modify {remove(type=regex)|\s-\sS\d+\s-\sEp\d+}
|
|
*
|
|
title.scrub {single|"title":"||","}
|
|
subtitle.scrub {single|"subtitle":"||","}
|
|
showicon.scrub {single|"URLImage":"||","}
|
|
description.scrub {regex||"summary":"(.*?)"||}
|
|
category.scrub {regex||"genre":"(.*?)","||}
|
|
category.scrub {regex||"subGenre":"(.*?)","||}
|
|
productiondate.scrub {regex||"editorialTitle":".*?(\d{4})||}
|
|
country.scrub {regex||"editorialTitle":".*?,\s(.*?),\s\d{4}||}
|
|
temp_1.modify {substring(type=regex)|'title' "\s-\sS\d+\s-\sEp\d+"}
|
|
temp_2.modify {substring(type=regex)|'subtitle' "Saison\s\d+\s\:\sEpisode\s\d+\|Saison\s\d+\s\:\|Episode\s\d+\s-\s\|Episode\s\d+"}
|
|
temp_2.modify {addstart("")|'temp_1'}
|
|
episode.modify {set(pattern=" - S'S1' - Ep'E1'""Saison 'S1' : Episode 'E1'""Saison 'S1' :""Episode 'E1' - ""Episode 'E1'" 'temp_2' not "")|'temp_2'}
|
|
*
|
|
subtitle.modify {remove|'category'}
|
|
title.modify {remove|'temp_1'}
|
|
subtitle.modify {remove|'temp_2'}
|
|
*
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*url_index{url|http://service.canal-overseas.com/ott-frontend/vector/63101/channels?filter.day=0}
|
|
*index_site_channel.scrub {multi|"name":"||"|}
|
|
*index_site_id.scrub {multi|"name":"|epgID":"|"|}
|
|
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
|
** @auto_xml_channel_end
|