Init
This commit is contained in:
58
siteini.pack/United Arab Emirates/dubaione.ae.ini
Executable file
58
siteini.pack/United Arab Emirates/dubaione.ae.ini
Executable file
@@ -0,0 +1,58 @@
|
||||
**------------------------------------------------------------------------------------------------
|
||||
* @header_start
|
||||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||||
* @Site: dmi.ae
|
||||
* @MinSWversion:
|
||||
* @Revision 0 - [26/05/2017] Netuddki
|
||||
* - creation
|
||||
* @Remarks: Dubai One is different from other dmi.ae channels
|
||||
* @header_end
|
||||
**------------------------------------------------------------------------------------------------
|
||||
*
|
||||
site {url=dmi.ae|timezone=UTC|maxdays=6|cultureinfo=ar-AE|charset=UTF-8|titlematchfactor=50|firstshow=now}
|
||||
site {retry=<retry time-out="10">4</retry>}
|
||||
*
|
||||
site {episodesystem=onscreen} *Enable for Onscreen Episode System
|
||||
*site {episodesystem=xmltv_ns} *Enable for xmltv_ns Episode System
|
||||
*
|
||||
*
|
||||
urldate.format {datestring|dd/MM/yyyy}
|
||||
*
|
||||
url_index {url|http://www.dmi.ae/dubaione/schedule.asp?lang=en&prgDate=|urldate|&ChannelID=4} *English
|
||||
*
|
||||
url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages
|
||||
*
|
||||
index_showsplit.scrub {regex||<tr class="bg[35]">(.*?)</tr>||}
|
||||
*
|
||||
index_start.scrub {regex||<span class="bold1">.*?<span class="bold1">(.*?)</span>||}
|
||||
index_title.scrub {regex||<h3>(.*?)</h3>||}
|
||||
index_title.modify {remove(type=regex)|\(Season \d+\)}
|
||||
index_title.modify {remove(type=regex)|S: \d+}
|
||||
*
|
||||
index_urlshow {url|http://www.dmi.ae/dubaione/|<a href=|"|"|>}
|
||||
*
|
||||
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the detail pages
|
||||
*
|
||||
title.scrub {single(includeblock=1)|<h1>||</h1>|</h1>}
|
||||
*
|
||||
description.scrub {regex||<p class="beta_m1 alpha_m1">(.*?)</p>||}
|
||||
description.modify {cleanup(tags="<"">")}
|
||||
description.modify {cleanup}
|
||||
*
|
||||
showicon.scrub {single(includeblock=1)|<div class="omega_mt1">|<img src="|"|alt}
|
||||
showicon.modify {addstart(not"")|http://www.dmi.ae/dubaione/}
|
||||
*
|
||||
director.scrub {single(separator=", ")|Director|class="omega_b1">|</td>|</tr>}
|
||||
actor.scrub {single(separator=", ")|Starring|class="omega_b2">|</td>|</tr>}
|
||||
*
|
||||
episode.modify {substring(type=regex pattern="(Season 'S1')""S: 'S1'")|'title' "\(Season \d+\)\|S: \d+"}
|
||||
title.modify {remove|'episode'}
|
||||
*
|
||||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||||
**
|
||||
** @auto_xml_channel_start
|
||||
*index_site_id.scrub {|}
|
||||
*index_site_id.modify {set|dubaione}
|
||||
*index_site_channel.modify {set|Dubai One}
|
||||
** @auto_xml_channel_end
|
||||
Reference in New Issue
Block a user