50 lines
2.5 KiB
INI
Executable File
50 lines
2.5 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: australianetwork.com
|
|
* @MinSWversion: 1.1.1/53.16
|
|
* @Revision 1 - [02/05/2014] Jan van Straaten
|
|
* - complete rewrite
|
|
* @Revision 0 - [03/07/2011] Jan van Straaten
|
|
* none
|
|
* @Remarks: for region Hong Kong, other regions trough different setting of timezone. See australianetwork.com_regions_time_zones.xml
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
|
|
site {url=australianetwork.com|timezone=Asia/Hong_Kong|maxdays=7.1|cultureinfo=en-GB|charset=UTF-8|titlematchfactor=90}
|
|
* all shows for 7 days, no urldate, no channel. The various regions differ only in time (?)
|
|
url_index{url|http://www.australianetwork.com/tvguide}
|
|
*http://www.australianetwork.com/tvguide
|
|
url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages
|
|
|
|
index_showsplit.scrub {multi|<article class="program-horizontal-tvguide">||</article>|</article>}
|
|
|
|
index_date.scrub {single|<div id="nav-location">|<p>|</p>|</p>}
|
|
index_start.scrub {single|<p class="time">|</span>|</p>|</p>}
|
|
index_duration.scrub {single|<p class="duration">||mins|</p>}
|
|
index_duration.modify {calculate(format=timespan,hours)|60 /}
|
|
index_title.scrub {single|<h3><a href=|">|</a>|</h3>}
|
|
*index_urlchannellogo {url| }
|
|
|
|
index_urlshow {url||<h3><a href="||">|</a>}
|
|
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the detail pages
|
|
|
|
title.scrub {single(separator="!??!" include=first)|<title>||</title>|</title>}
|
|
description.scrub {multi|<meta name="description"|content="|" />|" />}
|
|
category.scrub {single|<meta name="keywords"|content="|" />|" />}
|
|
*
|
|
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*index_site_id.scrub {|}
|
|
*index_site_channel.modify {addstart|Australia Network}
|
|
*index_site_id.modify {addstart|xx}
|
|
** @auto_xml_channel_end
|
|
**
|
|
***** the following two lines create a document that can be edited to list all region/time_zones to be specified in australianetwork.com.ini
|
|
****index_site_channel.scrub {multi|<ul id="global-location-list">|data-location="|" data-timezone|</ul>}
|
|
****index_site_id.scrub {multi|<ul id="global-location-list">|data-timezonecode="|">|</ul>}
|
|
|