39 lines
1.8 KiB
INI
Executable File
39 lines
1.8 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
||
* @header_start
|
||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||
* @Site: i24news.tv
|
||
* @MinSWversion: 1.1.1/56.27
|
||
* @Revision 0 - [06/07/2016] Blackbear199
|
||
* - creation
|
||
* @Remarks:
|
||
* @header_end
|
||
**------------------------------------------------------------------------------------------------
|
||
site {url=i24news.tv|timezone=UTC+02:00|maxdays=7|cultureinfo=en-GB|charset=UTF-8|titlematchfactor=90}
|
||
site {ratingsystem=IL|episodesystem=onscreen}
|
||
*
|
||
url_index{url|http://www.i24news.tv/en/tv/schedule/|urldate|}
|
||
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
||
urldate.format {datestring|dddd}
|
||
*
|
||
index_urlchannellogo {url(scope=datelogo)||<link rel="image_src" href="||"|"}
|
||
*
|
||
scope.range{(splitindex)|end}
|
||
index_showsplit.scrub {multi|<li class="item-schedule-day||</li>|</li>}
|
||
index_temp_1.modify {substring(type=regex)|'index_showsplit' "<span class=\"hour-schedule\">(.+?)<\/span>"}
|
||
index_temp_1.modify {cleanup(removeduplicates=equal,100 span=4 link="index_showsplit")}
|
||
end_scope
|
||
*
|
||
index_start.scrub {single(separator="-" include=first)|<span class="hour-schedule">||</span>|</span>}
|
||
index_stop.scrub {single(separator="-" include=last)|<span class="hour-schedule">||</span>|</span>}
|
||
index_title.scrub {single|<span class="title-schedule">||</span>|</span>}
|
||
index_category.modify {addstart|News}
|
||
*
|
||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||
**
|
||
** @auto_xml_channel_start
|
||
*index_site_id.scrub {|}
|
||
*index_site_id.modify {set|i24}
|
||
*index_site_channel.modify {set|I24 News}
|
||
** @auto_xml_channel_end
|