Init
This commit is contained in:
58
siteini.pack/India/indiatimes.com.ini
Executable file
58
siteini.pack/India/indiatimes.com.ini
Executable file
@@ -0,0 +1,58 @@
|
||||
**------------------------------------------------------------------------------------------------
|
||||
* @header_start
|
||||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||||
* @Site: indiatimes.com
|
||||
* @MinSWversion: 1.1.1/56.26
|
||||
* @Revision 0 - [03/07/2016] Blackbear199
|
||||
* - creation
|
||||
* @Remarks:
|
||||
* @header_end
|
||||
**------------------------------------------------------------------------------------------------
|
||||
site {url=indiatimes.com|timezone=Asia/Calcutta|maxdays=7|cultureinfo=en-GB|charset=UTF-8|titlematchfactor=90}
|
||||
site {ratingsystem=IN|episodesystem=onscreen}
|
||||
url_index{url|http://timesofindia.indiatimes.com/tvschannel_schedule.cms?fromdatetime=|urldate|0000&todatetime=|urldate|2359&channelname=|channel|}
|
||||
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
||||
urldate.format {datestring|yyyyMMdd}
|
||||
*
|
||||
index_showsplit.scrub {multi|<table width="100%"|<tr|</tr>|</table>}
|
||||
*
|
||||
scope.range{(indexshowdetails)|end}
|
||||
index_start.scrub {single(pattern="yyyyMMddHHmm")|start="||"|"}
|
||||
index_stop.scrub {single(pattern="yyyyMMddHHmm")|stop="||"|"}
|
||||
index_title.scrub {single|pname="||"|"}
|
||||
*
|
||||
index_urlshow {url|http://timesofindia.indiatimes.com|<a href="||"|"}
|
||||
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate}
|
||||
*
|
||||
index_temp_1.scrub {single|pid="||"|"}
|
||||
index_variable_element.modify {set|'index_temp_1'}
|
||||
end_scope
|
||||
*
|
||||
scop.range{(showdetails)|end}
|
||||
title.scrub {single|contenttype="program">||<span|<span}
|
||||
*
|
||||
description.scrub {multi(include=first)|<h2>Show Synopsis</h2>|<p>|</p>|</div>}
|
||||
description.scrub {multi(include=first)|<h2>Storyline</h2>|<p>|</p>|</div>}
|
||||
description.scrub {single(includeblock="'index_variable_element'")|<h2><span class="epicName">|<div class="accordionContent">|</div>|<div class="bottomShadow1">}
|
||||
description.modify {remove|There is no synopsis available for this episode}
|
||||
description.modify {cleanup}
|
||||
*
|
||||
director.scrub {multi|<span>Director</span>||</p>|</p>}
|
||||
actor.scrub {multi(exclude="Director")|<th>Cast & Crew</th>|<p class="cast-name">|</p>|</tr></table></div></div>}
|
||||
category.scrub {single(separator=", ")|<span class="genre">||</span>|</span>}
|
||||
episode.scrub {single(pattern="Episode - 'E1'" includeblock="'index_variable_element'")|<h2>|<span class="epicName">|<i class=|</h2>}
|
||||
episode.modify {clear(== "Episode -")}
|
||||
*
|
||||
showicon.scrub {single|<span class="col-30">|src="|"|</span>}
|
||||
end_scope
|
||||
*
|
||||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||||
**
|
||||
** @auto_xml_channel_start
|
||||
*url_index {url|http://timesofindia.indiatimes.com/tvschannellist.cms?genrename=all&languagename=&userid=0&sortfield=channelrank}
|
||||
*index_site_id.scrub {multi(separator=",")||||}
|
||||
*index_site_id.modify {replace| |%20}
|
||||
*index_site_channel.scrub {multi(separator=",")||||}
|
||||
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
||||
** @auto_xml_channel_end
|
||||
Reference in New Issue
Block a user