47 lines
2.3 KiB
INI
Executable File
47 lines
2.3 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: whatsonindia.com
|
|
* @MinSWversion: V1.1.1/52
|
|
* @Revision 1 - [06/12/2013] Jan van Straaten
|
|
* - site changes
|
|
* @Revision 0 - [12/11/2013] Francis De Paemeleere
|
|
* - creation
|
|
* @Remarks:
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
|
|
site {url=whatsonindia.com|timezone=UTC+05:30|maxdays=7|cultureinfo=en-IN|charset=UTF-8|titlematchfactor=90}
|
|
url_index{url|http://www.whatsonindia.com/smart/ChannelDetails.aspx?random=71086&|channel|&starttime=|urldate|}
|
|
urldate.format {datestring|yyyy-MM-dd}
|
|
index_showsplit.scrub {multi()|<ul data-role="listview"|<li data-theme="|</li>|</ul>}
|
|
|
|
index_start.scrub {regex()||>([0-9]{1,2}\:[0-9]{2} (?:PM\|AM)),||}
|
|
index_title.scrub {single()|padding-left:8px;">||<br|</a>}
|
|
index_showicon.scrub {single|<img src='||'|'}
|
|
index_urlshow.scrub {url(include="ProgrammeDetails")|http://www.whatsonindia.com/smart/|href="||"|"}
|
|
|
|
title.scrub {single()|name="title"|>|</|</}
|
|
description.scrub {regex||<tr data-theme=\'p\'[^>]*>(.*?)</tr>||}
|
|
actor.scrub {single()|Cast:-|<small|</small>|</a>}
|
|
director.scrub {single()|Director:-|<small|</small>|</a>}
|
|
|
|
description.modify {cleanup(tags="<"">")}
|
|
actor.modify {substring(type=regex)|style=.+\">(.+\z)}
|
|
director.modify {substring(type=regex)|style=.+\">(.+\z)}
|
|
actor.modify {replace|,|\|}
|
|
director.modify {replace|,|\|}
|
|
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*url_index{url|http://www.whatsonindia.com/smart/ChannelList.aspx?type=all}
|
|
*index_site_id.scrub {multi|<div id="ctl00_MainContent_divChannel">||</div>|</div>}
|
|
*scope.range {(channellist)|end}
|
|
*index_site_channel.modify {addstart|'index_site_id'}
|
|
*index_site_id.modify {substring(type=regex)|(channelname=.*?&channelid=.*?)&}
|
|
*index_site_channel.modify {substring(type=regex)|.+?>([^>]+?)</a>}
|
|
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
|
*end_scope
|
|
** @auto_xml_channel_end |