34 lines
1.7 KiB
INI
Executable File
34 lines
1.7 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
||
* @header_start
|
||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||
* @Site: tvplus.bg
|
||
* @MinSWversion: 1.1.1/54
|
||
* @Revision 0 - [29/03/2016] Blackbear199
|
||
* - creation
|
||
* @Remarks:
|
||
* @header_end
|
||
**------------------------------------------------------------------------------------------------
|
||
site {url=tvplus.bg|timezone=Europe/Sofia|maxdays=6|cultureinfo=bg-BG|charset=UTF-8|titlematchfactor=90}
|
||
url_index{url|http://www.tvplus.bg/inc/program-list.php?channel=|channel|&date=|urldate|}
|
||
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
||
urldate.format {datestring|yyyy-MM-dd}
|
||
*
|
||
index_showsplit.scrub {multi|<div class="text1 program-description"|||}
|
||
*
|
||
index_start.scrub {single(include=first)|</a>||<|<}
|
||
index_start.modify {remove|,}
|
||
index_title.scrub {single(separator="-" include=first)|>||</div|</div}
|
||
index_title.modify {remove|"}
|
||
index_description.scrub {single(separator="-" include=last)|>||</div|</div}
|
||
*
|
||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||
**
|
||
** @auto_xml_channel_start
|
||
*url_index{url|http://www.tvplus.bg/index.php?p=program2}
|
||
*index_site_channel.scrub {multi|<div class="preload">|<img src="img/site/program/|-logo.png">|<img src="img/site/program/timeline}
|
||
*index_site_channel.modify {cleanup(style=upper)}
|
||
*index_site_id.scrub {multi|<div class="preload">|<img src="img/site/program/|-logo.png">|<img src="img/site/program/timeline}
|
||
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
||
** @auto_xml_channel_end
|