40 lines
1.9 KiB
INI
Executable File
40 lines
1.9 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
||
* @header_start
|
||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||
* @Site: ftpplay.net
|
||
* @MinSWversion: 1.1.1/56.26
|
||
* @Revision 0 - [18/07/2016] Blackbear199
|
||
* - creation
|
||
* @Remarks:
|
||
* @header_end
|
||
**------------------------------------------------------------------------------------------------
|
||
site {url=ftpplay.net|timezone=Asia/Ho_Chi_Minh|maxdays=7|cultureinfo=vi-VN|charset=UTF-8|titlematchfactor=90}
|
||
site {ratingsystem=VN|episodesystem=onscreen}
|
||
url_index{url|https://fptplay.net/show/schedule?channel=|channel|&date=|urldate|&channel_now=%20##chan_name##}
|
||
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
||
urldate.format {datestring|dd-MM-yyyy}
|
||
*
|
||
scope.range{(urlindex)|end}
|
||
index_temp_1.modify {set|'config_xmltv_id'}
|
||
index_temp_1.modify {cleanup(style=urlencode)}
|
||
index_temp_1.modify {replace|+|%20}
|
||
url_index.modify {replace|##chan_name##|'index_temp_1'}
|
||
end_scope
|
||
*
|
||
index_showsplit.scrub {regex||<li style.+?</li>||}
|
||
*
|
||
index_start.scrub {regex||style=height:30px id="(\d{2}_\d{2})"||}
|
||
index_start.modify {replace|_|:}
|
||
index_title.scrub {single|<p class="program_type">||</p>|</p>}
|
||
index_description.scrub {single|<p class="program_name Regular">||</p>|</p>}
|
||
*
|
||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||
**
|
||
** @auto_xml_channel_start
|
||
*url_index {url|https://fptplay.net/livetv/}
|
||
*index_site_id.scrub {multi(includeblock=2)|<ul class="mar-p menu-list-event">|<li rel="|">|</ul>}
|
||
*index_site_channel.scrub {multi(includeblock=2)|<ul class="mar-p menu-list-event">|<span>|</span>|</ul>}
|
||
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
||
** @auto_xml_channel_end
|