**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: telerama.fr
* @MinSWversion: V0
* none
* @Revision 1 - [01/05/2011] Willy de Wilde
* none
* @Remarks:
* none
* @header_end
**------------------------------------------------------------------------------------------------
site {url=telerama.fr|timezone=UTC+01:00|maxdays=15|cultureinfo=fr-FR|charset=windows-1252|titlematchfactor=90}
site {episodesystem=onscreen|subtitlestype=deaf-signed}
site {retry=4 }
*
url_index{url|http://television.telerama.fr/tele/chaine-tv/|channel|.php?&date=|urldate}
urldate.format {datestring|yyyy-MM-dd}
*
index_showsplit.scrub {multi()|
|||}
index_urlshow {url()|http://television.telerama.fr/tele||href="/tele|" onclick|}
*index_urlshow {url()|http://television.telerama.fr/tele|
|href="/tele|" onclick|
}
index_start.scrub {single ()|
|de | à |
}
index_stop.scrub {single ()|
| à | |
}
index_title.scrub {single()|
|');">|}
index_start.modify {replace|h|:}
index_stop.modify {replace|h|:}
index_temp_1.scrub {multi () || | }
* enable the next two lines to create a channel list (does not work properly)
*index_site_channel.scrub {multi||">|| }
*index_site_id.scrub {multi||value="|">| }
*
title.scrub {single()| ||
|}
subtitle.scrub {single()|
||
|}
*actor.scrub {multi ()|Acteur /|php">||}
description.scrub {single()|Synopsis|
|
|}
description.scrub {single()|SYNOPSIS|
|
|}
*temp_2.scrub {multi ()|Acteur /|php">|
}
temp_2.scrub {multi (separator="Réalisateur : " include=first)|Acteur /|php">| }
*director.scrub {multi (separator="Réalisateur : " exclude=first)|Acteur /|php">| }
temp_2.modify {replace| | (}
temp_2.modify {replace|
|), }
temp_2.modify {replace| : |}
temp_2.modify {addstart (notnull)| Acteur: }
index_temp_1.modify {addstart (notnull)| Acteur: }
temp_2.modify {addend (null)|'index_temp_1'}
* classic actor style:
actor.modify {addstart('temp_2' not "")|'temp_2'}
actor.modify {remove| Acteur: }
actor.modify {replace|, |\|}
* add actor to description
*description.modify {addend|'temp_2'}
description.modify {cleanup}
description.modify {addend(not "")|...}
description.modify {addstart("")|aucun détail}
*
episode.modify {addstart('subtitle' ~ "épisode")|'subtitle'}
subtitle.modify {remove|'episode'}