55 lines
3.3 KiB
INI
Executable File
55 lines
3.3 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: in.com
|
|
* @MinSWversion:
|
|
* @Revision 1 - [27/11/2014] Francis De Paemeleere
|
|
* - add new timezone
|
|
* - try to speedup
|
|
* @Revision 0 - [09/06/2013] Jan van Straaten
|
|
* - creation
|
|
* @Remarks:
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
site {url=in.com|timezone=Asia/Calcutta|maxdays=7|cultureinfo=en-IN|charset=utf-8|titlematchfactor=90|firstshow=0}
|
|
site {retry=<retry time-out="20">3</retry>}
|
|
|
|
urldate.format {datestring|yyyyMMdd}
|
|
url_index{url|http://www.in.com/ajax/getChannelSchedule.php?cid=|channel|&dt=|urldate}
|
|
*http://www.in.com/ajax/getChannelSchedule.php?cid=436&dt=20130608
|
|
url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages
|
|
|
|
index_showsplit.scrub {multi|<div class="schedule_grid ">|||}
|
|
index_urlshow {url||<p class="title"><a href="||" title=|</a></p>}
|
|
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the detail pages
|
|
|
|
index_start.scrub {single|<p class="info">||</p>|</p>}
|
|
index_start.modify {replace|.|:}
|
|
index_title.scrub {single(separator=":" include=first)|<p class="title">|">|</a>|</p>}
|
|
index_showicon.scrub {single|<div class="sc_grid_photo50">|<img src="|" alt=|</div>}
|
|
|
|
title.scrub {single(separator=":" include=first)|<li class="last">|title="|">|</a>}
|
|
subtitle.scrub {single(separator=":" exclude=first)|<li class="last">|title="|">|</a>}
|
|
description.scrub {single|<p id="readmoretext"|">|</p>|</div>}
|
|
temp_1.scrub {single|<span class="dataL">Trivia :</span>|<span class="dataR">|</span>|</span>} * trivia
|
|
description.modify {addend('temp_1' not "")| Trivia : 'temp_1'}
|
|
description.modify {addstart("")|No more details!}
|
|
director.scrub {single(separator=", ""&")|<span class="dataL">Directed By :</span>|title="|">|<div class="clear">}
|
|
actor.scrub {single(separator=", ""&")|<span class="dataL">Cast :</span>|title="|">|<div class="clear">}
|
|
producer.scrub {single(separator=", ""&")|<span class="dataL">Produced By :</span>|title="|">|<div class="clear">}
|
|
writer.scrub {single(separator=", ""&")|<span class="dataL">Written By :</span>|title="|">|<div class="clear">}
|
|
composer.scrub {single(separator=", ""&")|<span class="dataL">Music By :</span>|title="|">|<div class="clear">}
|
|
category.scrub {single|<span>Language:</span>||</p>|</p>}
|
|
category.scrub {single|<span>Genre:</span>|">|</a>|</p>}
|
|
productiondate.scrub {single|<span class="dataL">Released Date :</span>|title="|">|<div class="clear">}
|
|
starrating.scrub {single|<span class="dataL">In.com Rating :</span>|<span class="dataR">|</span>|</span>}
|
|
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*url_index {url|http://www.in.com/tv/?utm_source=hp-lhs&utm_medium=hp-rest}
|
|
*index_site_id.scrub {multi|"update_section1" />|channelId=|&channelcatid|</ul>}
|
|
*index_site_channel.scrub {multi|"update_section1" />|<span class="text">|</span></a></li>|</ul>}
|
|
** @auto_xml_channel_end
|