**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: port.hu
* @MinSWversion: V1.5
* @Revision 17 - [27/04/2018] Celeburdi
* - fix index_showsplit, index_start, index_stop, rating scrub
* @Revision 16 - [23/11/2017] Celeburdi
* - fix title,description scrub
* - change http -> https
* - remove
from index_description
* - remove
from description
* @Revision 15 - [22/11/2016] Blackbear199
* - add Live,Repeat
* - showsplit fix(some shows were skipped).
* @Revision 14 - [20/11/2016] Blackbear199
* - description fix
* @Revision 13 - [04/11/2016] Blackbear199
* - site changes
* @Revision 12 - [30/06/2016] Blackbear199
* - improvements.added subtitle,episode
* @Revision 11 - [22/02/2016] Blackbear199
* - rewrite
* @Revision 10 - [04/09/2014] Jan van Straaten
* - maxdays=11.1, added customheader
* @Revision 9 - [03/09/2014] Jan van Straaten
* - removed firstday=now, changed maxdays=5.1
* @Revision 8 - [14/05/2014] Francis De Paemeleere
* adjust minor regex problem
* add teletext cleanup
* @Revision 7 - [14/11/2013] Francis De Paemeleere
* @Remarks:
* episodesystem=onscreen only
* @header_end
**------------------------------------------------------------------------------------------------
site {url=port.hu|timezone=Europe/Budapest|maxdays=11|cultureinfo=hu-HU|charset=UTF-8|titlematchfactor=90|allowlastpageoverflow|ratingsystem=IMDb|episodesystem=onscreen}
*
url_index{url|https://port.hu/tvapi?channel_id=tvchannel-|channel|&i_datetime_from=|urldate|&i_datetime_to=|urldate|}
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
*
urldate.format {datestring|yyyy-MM-dd}
*
index_showsplit.scrub {multi|{"id":"event|||}
index_urlchannellogo {url(scope=datelogo)||logo":"||"|"}
*
scope.range{(indexshowdetails)|end}
index_start.scrub {regex||"start_datetime":"(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}[-+]\d{2}:\d{2})"||}
index_stop.scrub {regex||"end_datetime":"(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}[-+]\d{2}:\d{2})"||}
index_title.scrub {single|"title":"||"|"}
index_subtitle.scrub {single|"episode_title":"||"|"}
index_temp_1.scrub {single||||}
index_description.scrub {single('index_urlshow' "")|"italics":"||","|","}
index_description.modify {addstart('index_temp_1' ~ "\(ism.\)")|(Ismétlés).}
index_description.modify {addstart('index_temp_1' ~ "\(élő\)")|(Élő).}
*hs+>
index_description.modify {replace |
|-}
*hs+<
*
index_urlshow {url|https://port.hu|"film_url":"||"|"}
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate}
end_scope
*
scope.range{(showdetails)|end}
title.scrub {single||