Files
epg/siteini.pack/India/tv.burrp.com.ini
freearhey a597b11307 Init
2021-03-09 22:46:37 +03:00

103 lines
4.5 KiB
INI
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: tv.burrp.com
* @MinSWversion: V1.1.1/54
* @Revision 2 - [10/02/2015] Francis De Paemeleere
* - rewrite on site change
* @Revision 1 - [27/11/2014] Francis De Paemeleere
* - add new timezone
* @Revision 0 - [11/04/2014] Jan van Straaten
* - creation
* @Remarks:
* @header_end
**------------------------------------------------------------------------------------------------
site {url=tv.burrp.com|timezone=Asia/Calcutta|maxdays=7|cultureinfo=en-IN|charset=UTF-8|titlematchfactor=90|ratingsystem=IMDB|episodesystem=xmltv_ns}
urldate.format {datestring|yyyy-MM-dd}
url_index{url|http://tv.burrp.com/channel/|channel|/|urldate|%2000:00:00/1}
url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages
index_showsplit.scrub {regex||class="[^"]*resultTime[^"]*".*?</tr>||}
index_start.scrub {single|<b class="from">||</sup>|</b>}
index_start.modify {replace|<sup class="ap">| }
index_title.scrub {single|<td class="resultTitle|<strong>|</strong>|</td>}
index_showicon.scrub {regex||class="[^"]*resultThumb[^"]*".*?src="([^"]*)"||}
index_urlchannellogo.scrub {regex||class="[^"]*channelLogo[^"]*".*?src="([^"]*)"||}
index_showicon.modify {replace|_75.|_140.} * default a 75px and 140px version of the show icon exist (take the larger one)
index_urlshow.scrub {regex||^.*?href="([^"]*)"||}
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the detail pages
title.scrub {single|class="showDetails">||</h1>|</h1>}
description.scrub {single|<div class="synopsis">||</div>|</div>}
description.modify {cleanup(tags="<"">")}
description.modify {remove| ...}
description.modify {remove| More }
temp_1.scrub {regex||class="[^"]*showDetails[^"]*".*?>\s*[Ss]eason\s*(\d*)\s*</||}
actor.scrub {regex||>\s*Actor\s*(</.*?)</||}
director.scrub {regex||>\s*Director\s*(</.*?)</||}
producer.scrub {regex||>\s*Producer\s*(</.*?)</||}
writer.scrub {regex||>\s*Writer\s*(</.*?)</||}
writer.scrub {regex||>\s*Created By\s*(</.*?)</||}
composer.scrub {regex||>\s*Music Director\s*(</.*?)</||}
category.scrub {regex||>\s*Show Type:\s*(</.*?)</||}
category.scrub {regex||>\s*Genre:\s*(</.*?)</||}
rating.scrub {regex||>\s*IMDB Rating\s*(</.*?)</||}
productiondate.scrub {regex||>\s*Release Date\s*(</.*?)</||}
title.modify {remove(type=regex)|<[^>]*>}
title.modify {remove(type=regex)|^\s*}
title.modify {remove(type=regex)|\s*$}
actor.modify {remove(type=regex)|<[^>]*>}
director.modify {remove(type=regex)|<[^>]*>}
producer.modify {remove(type=regex)|<[^>]*>}
writer.modify {remove(type=regex)|<[^>]*>}
composer.modify {remove(type=regex)|<[^>]*>}
category.modify {remove(type=regex)|<[^>]*>}
rating.modify {remove(type=regex)|<[^>]*>}
actor.modify {replace|,|\|}
director.modify {replace|,|\|}
producer.modify {replace|,|\|}
writer.modify {replace|,|\|}
composer.modify {replace|,|\|}
category.modify {replace|,|\|}
category.modify {replace|/|\|}
* temp_1 = season
* temp_2 = episode
temp_1.modify {calculate(not="" format=F0)|1 -}
temp_2.modify {calculate(not="" format=F0)|1 -}
episode.modify {clear}
episode.modify {addend('temp_1' not="")|'temp_1'}
episode.modify {addend|.}
episode.modify {addend('temp_2' not="")|'temp_2'}
episode.modify {addend|.}
episode.modify {clear(="..")}
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
*url_index {url|http://tv.burrp.com/channels.html#1}
*index_site_id.scrub {regex||id="channels".*?<ul>\s*(<li[^>]*>\s*<a [^>]*href="http://tv.burrp.com/channel/[^"]*"[^>]*>[^<]*</a>\s*</li>\s*)*||}
*scope.range {(channellist)|end}
*index_site_channel.modify {addstart|'index_site_id'}
*index_site_channel.modify {substring(type=regex)|<li[^>]*>\s*<a [^>]*href="http://tv.burrp.com/channel/[^"]*"[^>]*>([^<]*)</a>\s*</li>}
*index_site_channel.modify {remove(type=regex)|^\s*}
*index_site_channel.modify {remove(type=regex)|\s*$}
*index_site_id.modify {substring(type=regex)|<li[^>]*>\s*<a [^>]*href="http://tv.burrp.com/channel/([^"]*)"[^>]*>[^<]*</a>\s*</li>}
*index_site_id.modify {remove(type=regex)|/$}
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
*end_scope
** @auto_xml_channel_end