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

65 lines
3.5 KiB
INI
Executable File

**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: tvscheduleindia.com
* @MinSWversion:
* @Revision 0 - [01/01/2016]
* @Remarks:
* @header_end
**------------------------------------------------------------------------------------------------
site {url=tvscheduleindia.com|timezone=UTC+05:30|maxdays=6|cultureinfo=en-GB|charset=UTF-8|titlematchfactor=90}
site {ratingsystem=US|episodesystem=onscreen|firstshow=0|firstday=0000000}
url_index{url|http://tvscheduleindia.com/channel/|channel|/?p=|urldate}
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
urldate.format {daycounter|0}
*subpage.format {number||1|}
index_showsplit.scrub {multi|<div class="mainContCat resultCont container-fluid" style="margin-left:5px;width: 70%;">|<tr>|</tr>|</tbody>}
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate}
*index_urlchannellogo {url| }
*
*index_date.scrub {single(debug)||<span class="date">|</span>|}
index_start.scrub {single|<span class="date"|<b class="from">|</b>|<br>}
index_stop.scrub {single|<span class="date"|<b class="to">|</b>|<br>}
index_title.scrub {single|<a class="title"|<strong>|</strong>|</a>}
* most other elements have index_ versions
*
index_temp_1.scrub{single|<a class="title"|href="|">|</a>} * the part after http://tvscheduleindia.com
index_urlshow.modify {set('index_temp_1'not="")|http://tvscheduleindia.com'index_temp_1'} *the whole url (only if index_temp_1 has a value)
title.scrub {regex||<h2[^>]*>(.*?)<||} * get the title from the detail page
*titleoriginal.scrub {single|}
*subtitle.scrub {single|}
description.scrub {single|<div id="show_about">|<span style="color:#2F4F4F">||</div>}
description.modify {remove(type=regex)|<[^>]*>}
description.modify {cleanup}
director.scrub {single(separator=", ")|<th>Director</th>|<span itemprop="name">|</span>|</div>}
actor.scrub {single(separator=", ")|<th>Actor</th>|<span itemprop="name">|</span|</div>}
*presenter.scrub {single|}
producer.scrub {single(separator=", ")|<th>Producer</th>|<span itemprop="name">|</span>|</div>}
*producer.scrub {regex(separator=", ")||<th>Producer</th>(?:.*)<span itemprop="name">(.*?)</span>(?:.*?)</div>||} *regex way
writer.scrub {single(separator=", ")|<th>Writer</th>|<span itemprop="name">|</span>|</div>}
composer.scrub {single(separator=", ")|<th>Music Director</th>|<span itemprop="name">|</span>|</div>}
rating.scrub {single|<th>IMDB Rating</th>|<span itemprop="name">|</span>|</div>}
*ratingicon.scrub {multi|}
index_category.scrub {single|<div class="labels">|<b class="cat">|</b>|</div>}
index_temp_2.scrub {single|<a class="pic tiny"|<img src="|"|</a>}
index_showicon.modify {set('index_temp_2'not="")|http://tvscheduleindia.com'index_temp_2'}
productiondate.scrub {single|<th>Release Date</th>|<span itemprop="name">|</span>|</div>}
*starrating.scrub {single|}
*episode.scrub {single|}
*subtitles.scrub {single|}
*premiere.scrub {single|}
*previousshown.scrub {single|}
*
* operations:
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
*url_index{url|http://tvscheduleindia.com/channel/}
*index_site_channel.scrub {multi(exclude=first)|<select id="chanSel">|>|</option|</select}
*index_site_id.scrub {multi(debug)|<select id="chanSel">|<option vaule="|">|</select}
** @auto_xml_channel_end