Init
This commit is contained in:
58
siteini.pack/Portugal/nowo.pt.ini
Executable file
58
siteini.pack/Portugal/nowo.pt.ini
Executable file
@@ -0,0 +1,58 @@
|
||||
**------------------------------------------------------------------------------------------------
|
||||
* @header_start
|
||||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||||
* @Site: nowo.pt
|
||||
* @MinSWversion: V1.57
|
||||
* @Revision 0 - [07/11/2016] Blackbear199
|
||||
* - creation
|
||||
* @Remarks:
|
||||
* @header_end
|
||||
**------------------------------------------------------------------------------------------------
|
||||
site {url=nowo.pt|timezone=Europe/Lisbon|maxdays=6|cultureinfo=pt-PT|charset=UTF-8|titlematchfactor=90}
|
||||
site {ratingsystem=PT|episodesystem=onscreen|keepindexpage}
|
||||
*
|
||||
url_index{url|http://www.nowo.pt/tv/tv_guiatv.php?|urldate|&h=|subpage|&c=100&f=Todos&o=iziepg_schedule&epg_face=yes}
|
||||
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
||||
*
|
||||
urldate.format {datestring|"y="yyyy"&m="M"&d="d}
|
||||
subpage.format {list|4|16}
|
||||
*
|
||||
index_variable_element.modify {set|'config_site_id'}
|
||||
index_showsplit.scrub {multi(includeblock="src="/resources/logos_canais/'index_variable_element'thumb9.png"")|<div class="channel_name">|||}
|
||||
scope.range{(splitindex)|end}
|
||||
index_showsplit.modify {substring(type=regex)|"<a href.*?<\/a>"}
|
||||
index_temp_1.modify {substring(type=regex)|'index_showsplit' "schedule-id=\"(\d+)\""}
|
||||
index_temp_1.modify {cleanup(removeduplicates link="index_showsplit")}
|
||||
end_scope
|
||||
*
|
||||
index_urlshow {url|http://www.nowo.pt/tv_guiatv.php?program=|schedule-id="||"|"}
|
||||
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate}
|
||||
*
|
||||
index_urlchannellogo {url(includeblock="'index_variable_element'")|http://www.nowo.pt|<div class="channel_name">|<img src="|"|</div>}
|
||||
*
|
||||
index_start.scrub {single(separator="-" include=first)|<p class="hour">||</p>|</p>}
|
||||
*index_stop.scrub {single(separator="-" include=last)|<p class="hour">||</p>|</p>} *do not use,some stop times do not match next start time
|
||||
index_title.scrub {single|<p class="name">||</p>|</p>}
|
||||
*
|
||||
index_title.modify {cleanup}
|
||||
index_title.modify {remove(type=regex)|\s\(\d+\):\sEp\s\d+}
|
||||
*
|
||||
title.scrub {regex||"title":"(.*?)(?:\s\(\d+\):\sEp\s\d+)?"||}
|
||||
description.scrub {single|"description":"||"|"}
|
||||
category.scrub {single|"content_category":"||"|"}
|
||||
episode.scrub {regex(pattern="('S1'): Ep 'E1'")||"title":".*?\s(\(\d+\):\sEp\s\d+)"||}
|
||||
*
|
||||
title.modify {cleanup}
|
||||
description.modify {cleanup}
|
||||
category.modify {cleanup}
|
||||
|
||||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||||
**
|
||||
** @auto_xml_channel_start
|
||||
*index_site_id.scrub {regex||<img src="/resources/logos_canais/(.*?)thumb9.png"||}
|
||||
*index_site_channel.scrub {regex||<img src="/resources/logos_canais/(.*?)_*thumb9.png"||}
|
||||
*index_site_channel.modify {replace|_| }
|
||||
*index_site_channel.modify {cleanup(style=upper)}
|
||||
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
||||
** @auto_xml_channel_end
|
||||
Reference in New Issue
Block a user