Files
epg/siteini.pack/Greece/novaguide.gr.ini
freearhey a597b11307 Init
2021-03-09 22:46:37 +03:00

67 lines
3.6 KiB
INI
Executable File

**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: novaguide.gr
* @MinSWversion: V0
* none
* @Revision 3 - [07/04/2016] Blackbear199
* rewrite
* @Revision 2 - [08/04/2014] Willy de Wilde
* rewrite
* @Revision 1 - [01/09/2011] Jan van Straaten/Willy de Wilde
* url change
* @Revision 0 - []
* none
* @Remarks:
* none
* @header_end
**------------------------------------------------------------------------------------------------
site {url=novaguide.gr|timezone=Europe/Athens|maxdays=7.1|cultureinfo=el-GR|charset=UTF-8|titlematchfactor=90|firstshow=now|episodesystem=onscreen}
url_index{url|http://www.novaguide.gr/gr/tv-guide/?channelId=|channel|}
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
urldate.format {datestring|dd/MM/yyyy} *not used
*
index_showsplit.scrub {multi|<div i="false"||</div></div>|</div></div>}
*
index_start.scrub {regex||<div class="time">(\d{2}:\d{2})||}
index_stop.scrub {regex||<div class="time">\d{2}:\d{2}\s*-\s*(\d{2}:\d{2})||}
index_title.scrub {single|<p>||</p>|</p>}
index_urlchannellogo {url|http://www.novaguide.gr/|<div class="headDetails">|src="|">|<div }
*
index_temp_2.scrub {single|sid="||"|"} *get the showid from index_page
index_urlshow.modify {set('index_temp_2' not "")|http://www.novaguide.gr/Sys/Tooltip/GetTooltip?movieID='index_temp_2'&la=1&iconi=false&end=09%3A25} *urlsubdetail link is on this page
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate}
*
category.scrub {single(separator=" - " include=first)|<span class="content">||<a href|<a href}
episode.scrub {single(separator=" - " include=last)|<span class="content">||<a href|<a href}
*
urlsubdetail {url|http://www.novaguide.gr|<a href="||"|"}
*
subdetail_title.scrub {single|<span class="title">|<h3>|</h3>|</span>}
subdetail_description.scrub {single|<meta property="og:description" content=|"|"| />}
subdetail_director.scrub {single|Σκηνοθέτης:|</b>|</p>|<p>}
subdetail_productiondate.scrub {single|Έτος Παραγωγής: </b>||</p>|</p>}
subdetail_showicon.scrub {single|<a class="img">|src="|"| width}
*
*depending on the channels you use you may want to change the setting below
*example,most channels have category - episode so you would not want to use these setting.place a * at the beginning of the 4 lines
*these can be useful for channels that only have the category or episode and help to determin which one to keep
*
episode.modify {clear('episode' == 'category')} *if episode and category are same..remove eposide and keep category
temp_1.modify {calculate(type=word format=F0)|'category' #} *calculate number of words in category
episode.modify {clear('temp_1' >= "2")} *if number words in the episode is greater than or equal to 2 then keep category and remove episode
category.modify {clear('temp_1' < "2")} *if number words in the category is less than 2 then keep episode and remove category
*
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
*url_index{url |http://www.novaguide.gr/gr/tv-guide}
*index_site_channel.scrub {multi|<div class="channels schedule">|<img alt="|" |<div class="bottom">}
*index_site_channel.modify {remove(type=regex)|(\W{2}.*$)}
*index_site_channel.modify {remove| Θέση}
*index_site_id.scrub {multi|<div class="channel_guide">|data-channel-id="|" style=""|<div class="bottom">}
** @auto_xml_channel_end