**------------------------------------------------------------------------------------------------ * @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=4} * 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||(.*?)||} * index_start.scrub {regex||.*?(.*?)||} index_title.scrub {regex||

(.*?)

||} index_title.modify {remove(type=regex)|\(Season \d+\)} index_title.modify {remove(type=regex)|S: \d+} * index_urlshow {url|http://www.dmi.ae/dubaione/|} * index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the detail pages * title.scrub {single(includeblock=1)|

||

|} * description.scrub {regex||

(.*?)

||} description.modify {cleanup(tags="<"">")} description.modify {cleanup} * showicon.scrub {single(includeblock=1)|
|||} actor.scrub {single(separator=", ")|Starring|class="omega_b2">||} * 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