42 lines
2.2 KiB
INI
Executable File
42 lines
2.2 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site:
|
|
* @MinSWversion: 2.1.9
|
|
* @Revision 1 - [06/10/2019] Mat
|
|
* @Revision 0 - [24/12/2016] Harry_GG
|
|
* - creation
|
|
* @Remarks:
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
*
|
|
site {url=skysports.com|timezone=Europe/London|maxdays=7|cultureinfo=en-GB|charset=UTF-8|titlematchfactor=90|keepindexpage|firstshow=1}
|
|
url_index {url|http://www.skysports.com/watch/tv-guide/|urldate|}
|
|
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
|
urldate.format {datestring|dd-MM-yyyy}
|
|
*
|
|
index_variable_element.modify {set|'config_site_id'}
|
|
index_temp_1.modify {set|'index_variable_element'}
|
|
index_urlchannellogo.modify {set|https://www.skysports.com/core/img/channels/Sky-Sports-'index_temp_1'-Mobile-Logo.png}
|
|
index_showsplit.scrub {multi(include="/watch/prog/'index_variable_element'")|row-table">|<a |</a|<!--}
|
|
index_start.scrub {single(include=first)|<p|>|,|</p}
|
|
index_title.scrub {single|<h4|>|</h4|}
|
|
index_urlshow {url|https://www.skysports.com|href="||"}
|
|
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate}
|
|
title.modify {set|'index_title'}
|
|
description.scrub {single|<p|>|<|/p>}
|
|
showicon.scrub{single|<div class="figure|<img src="|" class="image">|</div>}
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*url_index{url|https://www.skysports.com/watch/tv-guide}
|
|
*url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
|
*index_site_id.scrub {multi|src="https://e3.365dm.com/tvlogos/channels/||-Mobile-Logo.svg?"|<div class="box tvg-scroller"}
|
|
*index_site_channel.scrub {multi|src="https://e3.365dm.com/tvlogos/channels/|alt="|"|<div class="box tvg-scroller"}
|
|
*index_site_channel.modify{cleanup}
|
|
*scope.range {(channellist)|end}
|
|
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
|
*end_scope
|
|
** @auto_xml_channel_end
|