44 lines
2.6 KiB
INI
Executable File
44 lines
2.6 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: paramountchannel.fr
|
|
* @MinSWversion: V1.1.1/56.29
|
|
* @Revision 0 - [13/05/2017] mat8861 & BlackBear199
|
|
* - creation
|
|
* @Remarks:
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
site {url=paramountchannel.fr|timezone=Europe/Paris|maxdays=7|cultureinfo=fr-FR|charset=UTF-8|nopageoverlaps|titlematchfactor=90}
|
|
site {episodesystem=onscreen|}
|
|
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
|
url_index{url|http://www.paramountchannel.fr/wp-content/themes/paramountfr/includes/scheduling-home-ajax.php?date=|urldate|}
|
|
urldate.format {datenumber|UNIX|0}
|
|
*
|
|
index_showsplit.scrub {multi(exclude=">button Down<"">button up<")|<hr class="fullpage">|||</div></a>}
|
|
index_urlshow {url||<a href="||">}
|
|
index_urlchannellogo.modify {addstart|http://www.paramountchannel.fr/wp-content/themes/paramountfr/img/logo_r_paramount_channel_blue.png}
|
|
index_start.scrub {regex||<div class="span list-item-time">\s*(\d{2}H\d{2})\s*</div>||}
|
|
index_start.modify {replace|H|:}
|
|
index_title.scrub {regex||<h2>([^/]*)</h2||}
|
|
index_title.modify{cleanup(tags="<"">")}
|
|
index_description.scrub {regex||<p>([^/]*)</p>||}
|
|
index_showicon.scrub {regex||<img alt=".*?src="http://.*?u=([^"]*)"[^>]*>||}
|
|
title.scrub {single|<h2|class="mod-title">|</h2>}
|
|
description.scrub {single|<p class="vert-spaced justified">|<p>|</p>|<br>}
|
|
description.modify{cleanup(tags="<"">")}
|
|
titleoriginal.scrub {single (lang=en)|<p><strong>Titre original</strong>:|<span>|</span>|</p>}
|
|
category.scrub {single|<p><strong>Genre</strong>:|<span>|</span>|</p>}
|
|
productiondate.scrub {single|<p><strong>Année</strong>:|<span>||</span>|</p>}
|
|
director.scrub {single|<p><strong>Réalisateur</strong>:|<span>|</span>|</p>}
|
|
actor.scrub {single|<p><strong>Acteurs</strong>:|<span>|</span>|</p>}
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*url_index{url|http://www.paramountchannel.fr/guide-tv/}
|
|
*index_site_channel.scrub {single|div id="logo"|<a href="/">|<img alt=""|src="}
|
|
*index_site_id.scrub {single|<meta property="og:url"|content="http://www.|.fr|/guide-tv/"/>}
|
|
*scope.range {(channellist)|end}
|
|
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
|
*end_scope
|
|
** @auto_xml_channel_end |