40 lines
1.7 KiB
INI
Executable File
40 lines
1.7 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
||
* @header_start
|
||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||
* @Site: latele.ch
|
||
* @MinSWversion: 1.1.1/56.25
|
||
* @Revision 0 - [21/06/2016] Blackbear199
|
||
* - creation
|
||
* @Remarks:
|
||
* @header_end
|
||
**------------------------------------------------------------------------------------------------
|
||
site {url=latele.ch|timezone=Europe/Paris|maxdays=7.1|cultureinfo=fr-FR|charset=UTF-8|titlematchfactor=90}
|
||
site {ratingsystem=FR|episodesystem=onscreen}
|
||
url_index{url|http://www.latele.ch/programme}
|
||
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
||
urldate.format {datenumber|0}
|
||
*
|
||
index_showsplit.scrub {multi|<div class="programme-segment|||</div> </div>}
|
||
*
|
||
scope.range{(indexshowdetails)|end}
|
||
index_start.scrub {single|<span class="programme-time">||</span>|</span>}
|
||
index_title.scrub {single|<span class="programme-titre">||</span>|</span>}
|
||
index_description.scrub {single|<div class="programme-stitre">||</div>|</div>}
|
||
index_showicon.scrub {single|<img src="||" />|" />}
|
||
*
|
||
index_subtitle.modify {substring(type=regex)|'index_description' "<span class=\"stitre\">(.+?)<\/span>"}
|
||
*
|
||
index_description.modify {cleanup(tags="<span>""</span>")}
|
||
index_description.modify {cleanup(tags="<"">")}
|
||
index_description.modify {cleanup}
|
||
end_scope
|
||
*
|
||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||
**
|
||
** @auto_xml_channel_start
|
||
*index_site_id.scrub {|}
|
||
*index_site_id.modify {set|la-tele}
|
||
*index_site_channel.modify {set|La Télé}
|
||
** @auto_xml_channel_end
|