**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: uydunetkablotv.com
* @MinSWversion: V2.1
* @Revision 0 - [16/10/2017] Blackbear199
* - creation
* @Remarks:
* @header_end
**------------------------------------------------------------------------------------------------
site {url=uydunetkablotv.com|timezone=Asia/Istanbul|maxdays=3|cultureinfo=tr-TR|charset=UTF-8|titlematchfactor=90}
site {ratingsystem=TR|episodesystem=onscreen}
*
url_index {url|http://engin.tv/frame/teledunya/get_vertical_epg.php?client=1C3C1362B59DF7890057CD10E0&time=21&station=|channel|&date=|urldate|}
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
*
urldate.format {datestring|yyyy-MM-dd}
*
index_showsplit.scrub {multi(exclude="
| ")|}
index_showsplit.modify {cleanup(style=htmldecodespecialchar)}
*index_showsplit.modify {(debug)}
*
index_urlshow {url|http://www.engin.tv/frame/teledunya/detail.php?client=cum&id=|callServer(\'detail\',||);|);}
index_urlshow.modify {replace(not "")|,\\'|&date=}
index_urlshow.modify {replace(not "")|\\',|&station=}
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate}
*
index_start.scrub {single|| | |]+>(?:]+>)?([^<]+)(?:)? ||}
index_category.scrub {single(separator=" & "" ")|||}
*
title.scrub {regex||]*>([^<]+).+?||}
titleoriginal.scrub {single|Orijinal Adı|">| | |}
description.scrub {single|||
|
}
director.scrub {single(separator="
")|Yönetmen|">||}
actor.scrub {single(separator="
")|Oyuncular|">||}
presenter.scrub {single(separator="
")|Sunucu|">||}}
writer.scrub {single(separator="
")|Senaryo|">||}
rating.scrub {single(includeblock="Üzeri")|
}
category.scrub {single(separator="!??!"" & "" - ")||||}
productiondate.scrub {single|Yapım Yılı|">||}
country.scrub {single|Ülke|">||}
episode.scrub {single(pattern="'E1'. Bölüm")|||
|}
showicon.scrub {single|
|")}
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
@auto_xml_channel_start
url_index {url|http://www.engin.tv/frame/teledunya/index.php}
index_site_id.scrub {multi|id="station" name="station">|value="|"|}
index_site_channel.scrub {regex||id="station" name="station">(?:.*?)(?:(?:.*?))*||}
index_site_id.modify {replace|,|\|}
index_site_channel.modify {replace|VIASAT NATURE - HISTORY HD|VIASAT NATURE & HISTORY HD}
index_site_channel.modify {replace|TRT 3 - SPOR|TRT 3 SPOR}
index_site_channel.modify {replace|SCIENCE - VIE HD|SCIENCE & VIE HD}
index_site_channel.modify {replace| - |\|}
@auto_xml_channel_end