**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: tvgids.nl * @MinSWversion: V2.1.5 * @Revision 20 - [22/07/2020] Blackbear199 * detail element fixes * @Revision 19 - [26/08/2019] Blackbear199 * duplicate removal improvement * @Revision 18 - [11/07/2019] Blackbear199 * first show fix,add channel logo * @Revision 17 - [13/12/2018] Blackbear199 * rewrite * @Revision 16 - [31/01/2017] Blackbear199 * add season/episode * @Revision 15 - [29/06/2016] Blackbear199 * fix wrong description when artikel_id present on index page * @Revision 14 - [21/06/2016] Blackbear199 * adapted for site changes * @Revision 13 - [31/07/2015] Jan van Straaten * adapted for site changes * @Remarks: * none * @header_end **------------------------------------------------------------------------------------------------ site {url=tvgids.nl|timezone=Europe/Amsterdam|maxdays=6|cultureinfo=nl-NL|charset=UTF-8|titlematchfactor=90|firstshow=now|allowlastdayoverflow} site {ratingsystem=KIJKWIJZER|episodesystem=onscreen} * url_index {url|https://www.tvgids.nl/gids/|urldate|/|channel|} url_index.headers {customheader=Accept-Encoding=gzip,deflate} * urldate.format {list|vandaag|morgen|overmorgen|{datestring|dd-MM-yyyy}} * index_urlchannellogo {url||
.*?||} *index_showsplit.scrub {multi|
||
|
} index_title.scrub {single|

||

|} index_showicon.scrub {single||

|

} description.scrub {single|
||
|} category.scrub {single(separator="/")|Genre|class="program__genre">||} director.scrub {single(separator=", ")|Regisseur|">|

|

} actor.scrub {single(separator=", ")|Acteurs & Actrices|">|

|

} presenter.scrub {single(separator=", ")|Presentator|">|

|

} writer.scrub {single(separator=", ")|Componist|">|

|

} episode.scrub {single(pattern="S'S1'E'E1'('P1'/'Pt1')""S'S1'E'E1' van 'Et1'""S'S1'E'E1'""S'S1'""E'E1'")|Aflevering|

|

|

} temp_1.scrub {single|Seizoen|">|

|

} productiondate.scrub {single|Premiere|">|

|

} country.scrub {single|Land|">|

|

} videoaspect.scrub {single|Resolutie|">|

|

} * title.modify {cleanup(tags="")} description.modify {cleanup(tags="<"">")} description.modify {cleanup} temp_2.modify {substring(type=regex)|'subtitle' "\(\d+\/\d+\)$"} subtitle.modify {remove('temp_2' not "")|'temp_2'} episode.modify {remove(type=regex)|"<\/span>\s*-\s*.*$"} episode.modify {cleanup(tags="<"">")} episode.modify {addstart(not "")|E} episode.modify {addstart('temp_1' not "")|S'temp_1'} episode.modify {addend('temp_2' not "")|'temp_2'} ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *url_index {url|https://www.tvgids.nl/gids} *index_site_id.scrub {multi|} *scope.range {(channellist)|end} *index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")} *end_scope ** @auto_xml_channel_end