38 lines
1.5 KiB
INI
Executable File
38 lines
1.5 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: urdu1.tv
|
|
* @MinSWversion:
|
|
* @Revision 0 - [08/04/2017] Netuddki
|
|
* - create
|
|
* @Remarks: none
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
|
|
site {url=urdu1.tv|timezone=Asia/Karachi|maxdays=7.1|cultureinfo=en-US|charset=UTF-8|titlematchfactor=90}
|
|
site {ratingsystem=PK|firstday=0123456}
|
|
*
|
|
**site {episodesystem=onscreen|} *Enable for Onscreen Episode System
|
|
site {episodesystem=xmltv_ns|} *Enable for xmltv_ns Episode System
|
|
*
|
|
url_index {url|https://www.urdu1.tv/schedule}
|
|
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
|
urldate.format {datestring|yyyy-MM-dd}
|
|
|
|
index_showsplit.scrub {regex||<div class="slide">(.*?)</ul>||}
|
|
*
|
|
index_start.scrub {regex||<h3.*?(\d{1,2}:\d{2} [AP]M)</h3>||}
|
|
index_title.scrub {regex||<h2>(.*?)</h2>||}
|
|
index_showicon.scrub {regex||<img src="(.*?)"||}
|
|
index_temp_1.scrub {regex||<h4>(.*?)</h4>||}
|
|
|
|
index_episode.modify {set(pattern="EPISODE 'E1' & 'E1'""EPISODE Catchup 'E1'""EPISODE 'E1'")|'index_temp_1'}
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*index_site_id.scrub {|}
|
|
*index_site_id.modify {set|urdu1}
|
|
*index_site_channel.modify {set|Urdu 1}
|
|
** @auto_xml_channel_end
|