Init
This commit is contained in:
78
siteini.pack/Hungary/port.hu.m.ini
Executable file
78
siteini.pack/Hungary/port.hu.m.ini
Executable file
@@ -0,0 +1,78 @@
|
||||
**------------------------------------------------------------------------------------------------
|
||||
* @header_start
|
||||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||||
* @Site: port.hu
|
||||
* @MinSWversion:
|
||||
* @Revision 3 - [30/06/2016] Blackbear199
|
||||
* - added alot new elements
|
||||
* @Revision 2 - [23/02/2016] Blackbear199
|
||||
* - rewrite
|
||||
* @Revision 1 - [04/03/2013] Francis De Paemeleere
|
||||
* - adjust charset
|
||||
* @Revision 0 - [02/02/2013] Jan van Straaten
|
||||
* - creation
|
||||
* @Remarks: prefered over port.hu.ini, based on the mobil site port.hu/pls/w/mobil..
|
||||
* @header_end
|
||||
**------------------------------------------------------------------------------------------------
|
||||
*
|
||||
site {url=port.hu.m|timezone=UTC+01:00|maxdays=12|cultureinfo=hu-HU|charset=UTF-8|titlematchfactor=90}
|
||||
url_index {url|http://port.hu/pls/w/mobil.group_list?i_topic_id=62&i_sub_page=2&i_date=|urldate|&i_channel_id=|channel}
|
||||
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
||||
urldate.format {datestring|yyyy-MM-dd}
|
||||
*
|
||||
index_showsplit.scrub {multi|<ul>|<li class="program program--list|</li>|</ul>}
|
||||
index_urlshow {url(debug)|http://port.hu|<article class="clearfix"><a href="||"}
|
||||
index_start.scrub {single|<time class="badge badge|left">|</time>|<h1}
|
||||
index_title.scrub {single|<h1 class="program-title">||</h1>|</h1>}
|
||||
index_category.scrub {single(separator=", " include="film""dráma""sorozat""magaz""show""krimi""vígjáték""sci-fi""gyerekműsor")|<em>||</em>|</em>}
|
||||
*
|
||||
index_category.modify {remove(type=regex)|\s\d{4}}
|
||||
*
|
||||
index_urlshow {url|http://port.hu|href="||">|">}
|
||||
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate}
|
||||
*
|
||||
scope.range{(showdetails)|end}
|
||||
title.scrub {single|<div class="header-title">|<h1>|</h1>|</div>}
|
||||
description.scrub {single|<div class="tabs-body" id="review">|<p>|</p>|</div>}
|
||||
*
|
||||
temp_1.scrub {single|<div class="tabs-body" id="cast">||</div>|</div>}
|
||||
director.modify {substring(type=regex)|'temp_1' "(<dt>rendező:\s<\/dt>.*?):"} *director
|
||||
director.modify {substring(type=regex)|"<dd>(.+?)<\/dd>"}
|
||||
*
|
||||
producer.modify {substring(type=regex)|'temp_1' "(<dt>producer:\s<\/dt>.*?):"} *producer
|
||||
producer.modify {substring(type=regex)|"<dd>(.+?)<\/dd>"}
|
||||
*
|
||||
writer.modify {substring(type=regex)|'temp_1' "<dt>(forgatókönyvíró:\s<\/dt>.*?):"} *writer
|
||||
writer.modify {substring(type=regex)|"<dd>(.+?)<\/dd>"}
|
||||
*
|
||||
composer.modify {substring(type=regex)|'temp_1' "<dt>(zene.*?:\s<\/dt>.*?):"} *composer
|
||||
composer.modify {substring(type=regex)|"<dd>(.+?)<\/dd>"}
|
||||
*
|
||||
actor.modify {substring(type=regex)|'temp_1' "<dt>(szereplő\(k\):\s<\/dt>.*?)<\/dl>"} *actor
|
||||
actor.modify {substring(type=regex)|"<dt>(.+?)<\/dt>"}
|
||||
*
|
||||
presenter.modify {substring(type=regex)|'temp_1' "<dt>(műsorvezető:\s<\/dt>.*?)<\/dl>"} *presenter
|
||||
presenter.modify {substring(type=regex)|"<dd>(.+?)<\/dd>"}
|
||||
*
|
||||
productiondate.scrub {single|<small class="channel-description">||</small>|</small>}
|
||||
starrating.scrub {single|<div class="rating-container clearfix">|<em>|</em>|</div>}
|
||||
starrating.modify {replace|,|.}
|
||||
*
|
||||
title.modify {cleanup(style=name)}
|
||||
description.modify {cleanup(tags="<"">")}
|
||||
actor.modify {cleanup(tags="<"">")}
|
||||
presenter.modify {cleanup(tags="<"">")}
|
||||
director.modify {cleanup}
|
||||
actor.modify {cleanup}
|
||||
composer.modify {cleanup}
|
||||
writer.modify {cleanup}
|
||||
end_scope
|
||||
*
|
||||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||||
**
|
||||
** @auto_xml_channel_start
|
||||
*url_index{url|http://port.hu/pls/w/mobil.group_list?i_topic_id=62&i_sub_page=2&i_date=|urldate|&i_channel_id=8}
|
||||
*index_site_id.scrub {multi|<a data-channel-id="||"}
|
||||
*index_site_channel.scrub {multi|data-channel-name="||"}
|
||||
** @auto_xml_channel_end
|
||||
Reference in New Issue
Block a user