**------------------------------------------------------------------------------------------------
* @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()|
||
}
index_showicon.scrub {single|||}
description.scrub {regex||]*>(.*?)
||}
actor.scrub {single()|Cast:-||}
director.scrub {single()|Director:-||}
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|||
|}
*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)|.+?>([^>]+?)}
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
*end_scope
** @auto_xml_channel_end