mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
44 lines
No EOL
2 KiB
INI
Executable file
44 lines
No EOL
2 KiB
INI
Executable file
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: upc.at
|
|
* @MinSWversion: V1.1.1/53
|
|
* @Revision 0 - [13/02/2014] Francis De Paemeleere - Willy De Wilde
|
|
* - creation
|
|
* @Remarks:
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
|
|
site {url=upc.at|timezone=UTC+01:00|maxdays=7|cultureinfo=de|charset=UTF-8|titlematchfactor=90|firstshow=1|keepindexpage}
|
|
|
|
urldate.format {datestring|yyyy-MM-dd}
|
|
subpage.format {list(step=3 count=8)|0}
|
|
url_index{url|http://tv-guide.upc.at/TV/wa/grid/?startDateTime=|urldate|T|subpage|:00:00Z}
|
|
|
|
index_variable_element.modify {addstart|'config_site_id'}
|
|
index_showsplit.scrub {multi(type=regex)||<ol [^>]*id="cid_'index_variable_element'"[^>]*>(.*?)</ol>||}
|
|
|
|
scope.range {(splitindex)|end}
|
|
index_showsplit.modify {remove(type=regex)|<li [^>]*class="[^"]*channel_info[^"]*"[^>]*>.*?</li>}
|
|
index_showsplit.modify {substring(type=regex)|<a href=.*?</li>}
|
|
index_showsplit.modify {cleanup(removeduplicates=equal span=1)}
|
|
end_scope
|
|
|
|
index_start.scrub {single|<span class = "time">|| -|<}
|
|
index_stop.scrub {single|<span class = "time">| -|<|<}
|
|
index_title.scrub {single|<a|>|</a>|</a>}
|
|
index_description.scrub {single|<p class = "desc">||</p>|</p>}
|
|
index_description.modify {cleanup(tags="<"">")}
|
|
|
|
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*url_index{url|http://tv-guide.upc.at/TV/wa/grid/?startDateTime=|urldate|T00:00:00Z}
|
|
*index_site_channel.scrub {multi|class="channel_logo"|title="|"|">}
|
|
*index_site_id.scrub {regex||<ol [^>]*id="cid_(.*?)"||}
|
|
*scope.range {(channellist)|end}
|
|
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
|
*end_scope
|
|
** @auto_xml_channel_end |