46 lines
2.3 KiB
INI
Executable File
46 lines
2.3 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: totiptv.com
|
|
* @MinSWversion: V1.57
|
|
* @Revision 1 - [30/08/2016] Blackbear199
|
|
* - changed to different url_index
|
|
* @Revision 0 - [16/08/2014] Jan van Straaten
|
|
* - creation
|
|
* @Remarks:
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
|
|
site {url=totiptv.com|timezone=UTC|maxdays=2|cultureinfo=th-TH|charset=UTF-8|titlematchfactor=90|firstshow=now}
|
|
*
|
|
url_index{url|http://player.me.totiptv.com/live/Ajax/Live/ChannelSchedule.aspx}
|
|
urldate.format {daycounter|0}
|
|
subpage.format {list|1|2|3|4|5|6|7|8}
|
|
*
|
|
url_index.headers {method=POST}
|
|
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
|
url_index.headers {accept=text/javascript, text/html, application/xml, text/xml, */*}
|
|
url_index.headers {contenttype=application/x-www-form-urlencoded; charset=UTF-8}
|
|
url_index.headers {customheader=X-Requested-With=XMLHttpRequest}
|
|
url_index.headers {postdata=container=scd&day='urldate'&delay=0&tl=0&p='subpage'&id='channel'&tz=0}
|
|
*
|
|
index_showsplit.scrub {multi|<p class="entry">|<a href="#"|</a>|</p>}
|
|
index_temp_1.modify {substring(type=regex)|'index_showsplit' "<b class=\"b1\">[^<]*(\d{2}:\d{2})[^<]*<\/b>"}
|
|
index_temp_1.modify {cleanup(removeduplicates=equal,100 span=5 link="index_showsplit")}
|
|
*
|
|
index_start.scrub {single|<b class="b1">||</b>|</b>}
|
|
index_title.scrub {single|title="||"|"}
|
|
*
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*url_index{url|http://www.totiptv.com/Product/Channel/ByType.aspx}
|
|
*index_site_id.scrub {|}
|
|
*index_temp_9.scrub {multi(exclude="SetTopBox")|<div id="framelogin">|<div style="float:left; width:96px;| </div>|<a name="ancPlayerReligion">}
|
|
*index_temp_9.modify {cleanup(removeduplicates=equal,100)}
|
|
*index_site_id.modify {substring(type=regex)|'index_temp_9' "onclick=\"playChannels\(\'(.*?)\'"}
|
|
*index_site_channel.modify {substring(type=regex)|'index_temp_9' "font-weight: bold;(?:height: 30px)?\">(.*?)$"}
|
|
*index_site_channel.modify {cleanup}
|
|
** @auto_xml_channel_end
|