40 lines
2.2 KiB
INI
Executable File
40 lines
2.2 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
||
* @header_start
|
||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||
* @Site: cyta.com.cy
|
||
* @MinSWversion: 1.1.1/54
|
||
* @Revision 0 - [27/04/2016] Blackbear199
|
||
* - creation
|
||
* @Remarks:
|
||
* @header_end
|
||
**------------------------------------------------------------------------------------------------
|
||
site {url=cyta.com.cy|timezone=UTC+02:00|maxdays=9|cultureinfo=el-GR|charset=ISO-8859-7|titlematchfactor=90}
|
||
site {ratingsystem=GR|episodesystem=onscreen|firstshow=2}
|
||
url_index{url|https://data.cytavision.com.cy/epg/?site=cyprus&day=|urldate|&lang=en&package=all&category=all}
|
||
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
||
urldate.format {daycounter|0}
|
||
*
|
||
index_variable_element.modify {set|'config_site_id'}
|
||
index_showsplit.scrub {multi(includeblock='index_variable_element'/92)|<div class="epgrow clearfix">||</div> </div>|</div> </div>}
|
||
index_showsplit.modify {substring(type=regex)|"(<div class=\"program\".+?<\/div>)"}
|
||
*
|
||
index_start.scrub {regex||<h4>(\d{1,2}:\d{2})||}
|
||
index_title.scrub {single|<span class="program_title">||</span>|</span>}
|
||
*
|
||
*index_title.modify {remove|(E)}
|
||
*index_titleoriginal.modify {substring(type=regex)|'index_title' "[^>]*\((.+?)\)"}
|
||
*index_title.modify {remove|('index_titleoriginal')}
|
||
*
|
||
index_description.scrub {single|</h4>||</div>|</div>}
|
||
*
|
||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||
**
|
||
** @auto_xml_channel_start
|
||
*index_site_id.scrub {|}
|
||
*index_site_id.modify {set|1\|2\|3\|4\|5\|6\|7\|8\|9\|10\|11\|12\|13\|14\|15\|16\|17\|18\|19\|20\|21\|22\|23\|24\|25\|26\|27\|28\|29\|30\|31\|32\|33\|34\|35\|36\|37\|38\|39\|40\|41\|42\|43\|44\|45\|46\|47\|48\|49\|50\|51\|52\|53\|54\|55\|*56\|57\|58\|59\|60\|61\|62\|63\|64\|65\|66\|67\|68\|69\|70\|71\|72\|73\|74\|75\|76\|77\|78\|79\|80\|81\|82\|83\|84\|85\|86\|87\|88\|89\|90\|91\|92}
|
||
*index_site_channel.scrub {multi|class="channel_link"|channels_iframe/|.gif|<div id='right'>}
|
||
*index_site_channel.modify {remove|large}
|
||
*index_site_channel.modify {cleanup(style=name)}
|
||
** @auto_xml_channel_end
|