42 lines
1.8 KiB
INI
Executable File
42 lines
1.8 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: point.md
|
|
* @MinSWversion:
|
|
* @Revision 0 - [09/09/2015] Francis De Paemeleere
|
|
* - creation
|
|
* @Remarks:
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
|
|
site {url=point.md|timezone=Europe/Chisinau|maxdays=6|cultureinfo=ro|charset=UTF-8|titlematchfactor=90|nopageoverlaps}
|
|
|
|
urldate.format {datestring|dd-MM-yyyy}
|
|
subpage.format{list|1|2|3}
|
|
url_index{url|http://point.md|channel|/|urldate|?range=|subpage|}
|
|
url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages
|
|
|
|
index_showsplit.scrub {multi|class="tv__channel__programm"|<li|</li>|</section>}
|
|
|
|
scope.range {(splitindex)|end}
|
|
index_showsplit.modify {cleanup(removeduplicates=equal span=1)}
|
|
end_scope
|
|
|
|
index_start.scrub {single|<i>||</i>|</i>}
|
|
index_title.scrub {single|</i>|||}
|
|
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*url_index{url|http://point.md/ru/tv}
|
|
*index_site_id.scrub {regex||<li data-channel-id-forfav.*?<a [^>]*\s*href="([^\"]*)"[^>]*>.*?</li>||}
|
|
*index_site_channel.scrub {regex||<li data-channel-id-forfav.*?<a [^>]*\s*href="[^\"]*"[^>]*>(.*?)</li>||}
|
|
*scope.range {(channellist)|end}
|
|
*index_site_channel.modify {remove(type=regex)|<[^>]*>}
|
|
*index_site_channel.modify {remove(type=regex)|^\s*}
|
|
*index_site_channel.modify {remove(type=regex)|\s*$}
|
|
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
|
*end_scope
|
|
** @auto_xml_channel_end
|