35 lines
1.8 KiB
INI
Executable File
35 lines
1.8 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: m.skbroadband.com
|
|
* @MinSWversion: 1.0
|
|
* @Revision 1 - [24/04/2020] WGT
|
|
* @Revision 0 - [2017.Oct.08] YK Kim
|
|
* - EPG grab from SK BTv Korea
|
|
* @Remarks: for channel creation set charset=UTF-8
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
|
|
site {url=m.skbroadband.com|timezone=Asia/Seoul|maxdays=7|cultureinfo=ko|charset=EUC-KR|titlematchfactor=90}
|
|
url_index{url|http://m.skbroadband.com/content/realtime/Channel_List.do?key_depth1=5100&key_depth2=|channel|&key_depth3=|urldate}
|
|
urldate.format {datestring|yyyyMMdd}
|
|
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
|
index_showsplit.scrub {multi|<ol>|<li class|</li>|</ol>}
|
|
index_start.scrub {single|<p class="time">||</p>|</p>}
|
|
index_title.scrub {single| <p class="cont">||<span class="flag_box">}
|
|
index_title.modify {cleanup(tags="<"">")}
|
|
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*url_index {method=POST}
|
|
*url_index{url|http://m.skbroadband.com/content/realtime/Realtime_List_Ajax.do}
|
|
*url_index.headers {postdata=key_depth1=&key_depth2=&key_depth3=&package_name=PM50305785&pack=18}
|
|
*index_site_channel.scrub {regex()||"c_menu":"\d+","depth":"\d+","m_name":"([^"]*)","ch_no":"||}
|
|
*index_site_id.scrub {regex()||"c_menu":"(\d+)","depth":"\d+","m_name":"[^"]*","ch_no":"||}
|
|
*scope.range {(channellist)|end}
|
|
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
|
*end_scope
|
|
** @auto_xml_channel_end
|