49 lines
2.6 KiB
INI
Executable File
49 lines
2.6 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: abs-cbn.com
|
|
* @MinSWversion: V1.1.1/55.03
|
|
* @Revision 1 - [25-08-2014] Jan van Straaten
|
|
* - added details
|
|
* @Revision 0 - [12/08/2014] highkick05
|
|
* - creation
|
|
* @Remarks: 0=Sunday 1=Monday. May contain time errors due to site inaccuracies
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
|
|
site {url=abs-cbn.com|timezone=Asia/Manila|maxdays=7|cultureinfo=en-US|charset=UTF-8|titlematchfactor=90}
|
|
site {retry=<retry time-out="15">4</retry>}
|
|
urldate.format {weekdayname|1|2|3|4|5|6|0}
|
|
url_index {url|http://www.abs-cbn.com/Schedule?day=|urldate|}
|
|
|
|
index_showsplit.scrub {multi|<span class="time">||</a>|</ul>}
|
|
|
|
index_start.scrub {multi|||</em>|}
|
|
index_start.modify {replace|<em style="padding-left: 5px;">| }
|
|
index_title.scrub {single|<h3>||</h3>}
|
|
index_urlshow.scrub {single(include="main")|<a href="||">|">} * base show and subdetail url
|
|
index_urlshow.modify {replace('index_urlshow' not "")|main|about} * this contains the description
|
|
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate}
|
|
title.modify {addstart|'index_title'}
|
|
description.scrub {single|<!-- CONTENT START -->||</span>|<!-- CONTENT END -->}
|
|
description.modify {cleanup(tags="<"">")}
|
|
description.modify {cleanup(tags="/=ABOUT")}
|
|
description.modify {remove(type=regex)|"(GA_googleFillSlot\(\"ABS_.+?_300x250\"\);*)"}
|
|
|
|
index_urlsubdetail.modify {addstart('index_urlshow' not "")|'index_urlshow'} * contains the credits
|
|
index_urlsubdetail.modify {replace|about|artists}
|
|
index_urlsubdetail.headers {customheader=Accept-Encoding=gzip,deflate}
|
|
subdetail_temp_1.scrub {multi|<h1>HOSTS</h1>|</h2><p></p><p><b>|</b>|<!-- CONTENT END -->} * full name presenter
|
|
subdetail_presenter.scrub {multi|<h1>HOSTS</h1>|<div class="host-content"><h2>|</h2>|<!-- CONTENT END -->}
|
|
subdetail_presenter.modify {clear('subdetail_temp_1' not "")}
|
|
subdetail_presenter.modify {addstart('subdetail_temp_1' not "")|'subdetail_temp_1'}
|
|
subdetail_actor.scrub {multi|<h1>CAST</h1>|<div class="host-content"><h2>|</h2>|<!-- CONTENT END -->}
|
|
* _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
* ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
** single channel
|
|
*index_site_id.scrub {|}
|
|
*index_site_channel.modify {addstart|ABS-CBN}
|
|
*index_site_id.modify {addstart|ABS-CBN}
|
|
** @auto_xml_channel_end |