37 lines
1.6 KiB
INI
Executable File
37 lines
1.6 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: video.gazzetta.it
|
|
* @MinSWversion:
|
|
* @Revision 0 - [17/11/2015] Francis De Paemeleere
|
|
* - creation
|
|
* @Remarks:
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
|
|
site {url=video.gazzetta.it|timezone=Europe/Rome|maxdays=12|cultureinfo=it-IT|charset=UTF-8|titlematchfactor=90|nopageoverlaps}
|
|
|
|
urldate.format {datestring|yyyy-MM-dd}
|
|
url_index{url|http://video.gazzetta.it/daily-programs?date=|urldate|&appunica=false}
|
|
url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages
|
|
|
|
index_showsplit.scrub {regex||<div class=\"daily-program timeframe\".*?</div>\s*</div>\s*</div>||}
|
|
|
|
index_start.scrub {regex||class="time"[^>]*>(.*?)</||}
|
|
index_title.scrub {regex||class="title"[^>]*>(.*?)</||}
|
|
index_subtitle.scrub {regex||class="chapter-titl"[^>]*>(.*?)</||}
|
|
index_description.scrub {regex||class="synopsis"[^>]*>(.*?)</||}
|
|
index_description.modify {cleanup}
|
|
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*index_site_channel.scrub {multi||||}
|
|
*index_site_id.scrub {multi|}
|
|
*scope.range {(channellist)|end}
|
|
*index_site_channel.modify {set|Gazzetta tv}
|
|
*index_site_id.modify {set|}
|
|
*end_scope
|
|
** @auto_xml_channel_end
|