Files
epg/siteini.pack/Malaysia/unifi.com.my.ini
freearhey a597b11307 Init
2021-03-09 22:46:37 +03:00

32 lines
1.7 KiB
INI
Executable File

**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: unifi.com.my
* @MinSWversion: V2.1.5
* @Revision 0 - [01/11/2018] Mat8861
* - creation
* @Remarks:
* @header_end
**------------------------------------------------------------------------------------------------
site {url=unifi.com.my|timezone=Asia/Kuala_Lumpur|maxdays=5|cultureinfo=en-GB|charset=UTF-8|titlematchfactor=90|nopageoverlaps}
urldate.format {datestring|yyyyMMdd}
url_index{url|https://www.tm.com.my/tv/data/schedule/search.aspx?channel=|channel|&date=|urldate|}
url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages
global_temp_1.modify {set|'config_site_id'}
index_showsplit.scrub {regex||\"channel_no\":\"'global_temp_1'\",\".*?\"shows\":\[(\{.*?)\]||}
index_showsplit.modify {replace|\},\{|\}\|\{}
index_showsplit.modify {cleanup(style=urldecode)}
index_start.scrub {single|"start":"||",|",}
index_title.scrub {single|{"title":"||",|",}
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
*url_index {url|https://www.tm.com.my/tv/templates/getAllChannel.aspx}
*index_site_channel.scrub {regex||{"name": "([^"]*)","channel_no": ".*?"}||}
*index_site_id.scrub {regex||{"name": ".*?","channel_no": "([^"]*)"}||}
*scope.range {(channellist)|end}
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
*end_scope
** @auto_xml_channel_end