38 lines
1.7 KiB
INI
Executable File
38 lines
1.7 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: humsitaray.tv
|
|
* @MinSWversion: V1.57
|
|
* @Revision 1 - [05/04/2017] Netuddki
|
|
* - Fixed scrubbing
|
|
* @Revision 0 - [27/09/2016] Blackbear199
|
|
* - creation
|
|
* @Remarks:
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
site {url=humsitaray.tv|timezone=Asia/Karachi|maxdays=7|cultureinfo=en-US|charset=UTF-8|titlematchfactor=90}
|
|
site {ratingsystem=IN|episodesystem=onscreen|firstday=0123456}
|
|
url_index{url|http://www.humsitaray.tv/schedule/schedule.html}
|
|
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
|
urldate.format {weekdaynumber|1}
|
|
*
|
|
index_showsplit.scrub {regex||<li>(.*?)</li>||}
|
|
*scope.range{(splitindex)|end}
|
|
*index_showsplit.modify {remove(type=element)|-1 1}
|
|
*index_showsplit.modify {addstart|<li><a href="http://www.humsitaray.tv/vod/" target="_blank">Off Air<small>03:00 AM</small></a></li>}
|
|
*index_showsplit.modify {replace(type=regex)|>(:00 PM)<|00:00 AM}
|
|
*index_showsplit.modify {substring(type=regex)|"<li>.*?<\/li>"}
|
|
*end_scope
|
|
*
|
|
index_start.scrub {regex||<small>(\d{1,2}:\d{2}\s[AP]M)||}
|
|
index_title.scrub {regex||target="_blank">(.*?)<small>||}
|
|
*
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*index_site_id.scrub {|}
|
|
*index_site_id.modify {set|humsitaray}
|
|
*index_site_channel.modify {set|Hum Sitaray}
|
|
** @auto_xml_channel_end
|