Init
This commit is contained in:
6
siteini.pack/Pakistan/apna.tv.channels.xml
Executable file
6
siteini.pack/Pakistan/apna.tv.channels.xml
Executable file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<site generator-info-name="WebGrab+Plus/w MDB & REX Postprocess -- version V1.57 -- Jan van Straaten" site="apna.tv">
|
||||
<channels>
|
||||
<channel update="i" site="apna.tv" site_id="apna" xmltv_id="APNA">APNA</channel>
|
||||
</channels>
|
||||
</site>
|
||||
62
siteini.pack/Pakistan/apna.tv.ini
Executable file
62
siteini.pack/Pakistan/apna.tv.ini
Executable file
@@ -0,0 +1,62 @@
|
||||
**------------------------------------------------------------------------------------------------
|
||||
* @header_start
|
||||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||||
* @Site: apna.tv
|
||||
* @MinSWversion: V1.57
|
||||
* @Revision 0 - [03/10/2016] Blackbear199
|
||||
* - creation
|
||||
* @Remarks:
|
||||
* @header_end
|
||||
**------------------------------------------------------------------------------------------------
|
||||
site {url=apna.tv|timezone=UTC+05:00|maxdays=7.1|cultureinfo=en-US|charset=UTF-8|titlematchfactor=90}
|
||||
site {ratingsystem=US|episodesystem=onscreen|firstday=1234560}
|
||||
url_index{url|http://apna.tv/program-guide/}
|
||||
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
||||
urldate.format {datestring|ddd}
|
||||
*
|
||||
|
||||
index_showsplit.scrub {multi(include="Daily""Sun""Mon""Tues""Wed""Thurs""Fri""Sat")|<tbody>|<tr>|</tr>|</table>}
|
||||
scope.range{(splitindex)|end}
|
||||
index_showsplit.modify {cleanup(removeduplicates span=2)}
|
||||
index_showsplit.modify {replace|\||##}
|
||||
index_temp_9.modify {addstart|'index_showsplit'####'index_showsplit'####'index_showsplit'####'index_showsplit'####'index_showsplit'####'index_showsplit'####'index_showsplit'}
|
||||
index_temp_9.modify {replace|####|\|}
|
||||
index_temp_1.modify {set|0}
|
||||
loop{(each "index_temp_2" in 'index_temp_9')|end}
|
||||
index_temp_5.modify {clear}
|
||||
index_temp_8.modify {set|Mon\|Tues\|Wed\|Thurs\|Fri\|Sat\|Sun}
|
||||
index_temp_8.modify {substring(type=element)|'index_temp_8' 'index_temp_1' 1}
|
||||
index_temp_7.modify {substring(type=regex)|'index_temp_2' "(<td width="198">[^<]*<\/td>[^<]*<td colspan="3">[^<]*'index_temp_8'[^<]*<[^#]*)##"}
|
||||
index_temp_7.modify {replace|\||##}
|
||||
index_temp_6.modify {substring(type=regex)|'index_temp_2' "(<td width="198">[^<]*<\/td>[^<]*<td colspan="3">[^<]*Daily[^<]*<[^#]*)##"}
|
||||
index_temp_6.modify {replace|\||##}
|
||||
index_temp_5.modify {addend|'index_temp_7'##'index_temp_6'}
|
||||
index_temp_5.modify {replace|##|\|}
|
||||
index_temp_3.modify {substring(type=regex)|'index_temp_5' "<td colspan=\"2\">(\d{1,2}:\d{2}\s[AP]M)<\/td>"}
|
||||
index_temp_3.modify {cleanup(removeduplicates=equal,100 span=1 keepfirst link="index_temp_5")} *change keepfirst to keeplast to keep second show
|
||||
index_temp_5.modify {sort(ascending,string)}
|
||||
sort_by.scrub {single(target="index_temp_5")|<td colspan="2">||</td>|</td>}
|
||||
sort_by.modify {calculate(target="index_temp_5" format=date,H:mm tt)}
|
||||
index_temp_5.modify {replace|\||##}
|
||||
index_temp_4.modify {addend|'index_temp_5'##}
|
||||
index_temp_1.modify {calculate(format=F0)|1 +}
|
||||
end_loop
|
||||
index_showsplit.modify {clear}
|
||||
index_showsplit.modify {addstart|'index_temp_4'}
|
||||
index_showsplit.modify {replace|##|\|}
|
||||
end_scope
|
||||
*
|
||||
index_urlchannellogo {url||<a title="Apna TV Channel"|<img src="|"|</a>}
|
||||
*
|
||||
index_start.scrub {single|<td colspan="2">||</td>|</td>}
|
||||
index_title.scrub {single|<td width="198">||</td>|</td>}
|
||||
index_category.modify {addstart|Show}
|
||||
*
|
||||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||||
**
|
||||
** @auto_xml_channel_start
|
||||
*index_site_id.scrub {|}
|
||||
*index_site_id.modify {set|apna}
|
||||
*index_site_channel.modify {set|APNA}
|
||||
** @auto_xml_channel_end
|
||||
6
siteini.pack/Pakistan/arydigital.tv.channels.xml
Executable file
6
siteini.pack/Pakistan/arydigital.tv.channels.xml
Executable file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<site generator-info-name="WebGrab+Plus/w MDB & REX Postprocess -- version V2.0 -- Jan van Straaten" site="arydigital.tv">
|
||||
<channels>
|
||||
<channel update="i" site="arydigital.tv" site_id="arydigital" xmltv_id="Arydigital">Arydigital</channel>
|
||||
</channels>
|
||||
</site>
|
||||
31
siteini.pack/Pakistan/arydigital.tv.ini
Executable file
31
siteini.pack/Pakistan/arydigital.tv.ini
Executable file
@@ -0,0 +1,31 @@
|
||||
**------------------------------------------------------------------------------------------------
|
||||
* @header_start
|
||||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||||
* @Site: arydigital.tv
|
||||
* @MinSWversion:
|
||||
* @Revision 0 - [08/04/2017] Netuddki
|
||||
* - create
|
||||
* @Remarks: none
|
||||
* @header_end
|
||||
**------------------------------------------------------------------------------------------------
|
||||
|
||||
site {url=arydigital.tv|timezone=Asia/Karachi|maxdays=7|cultureinfo=en-US|charset=UTF-8|titlematchfactor=90}
|
||||
*site {ratingsystem=PK|episodesystem=onscreen|firstday=0000000}
|
||||
url_index {url|http://www.arydigital.tv/|urldate|/}
|
||||
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
||||
urldate.format {weekdayname|schedule|tuesday|wednesday|thursday|friday|saturday|sunday}
|
||||
|
||||
index_showsplit.scrub {multi|<ul class="record-list clearfix">|<li id="|</li>|</ul>}
|
||||
*
|
||||
index_start.scrub {regex||<div class="time">(\d{1,2}:\d{2} [AP]M)</div>||}
|
||||
index_title.scrub {regex||<div class="show-name">.*?">(.*?)</a>||}
|
||||
index_showicon.scrub {regex||<img class="show-img" src="(.*?)"||}
|
||||
|
||||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||||
**
|
||||
** @auto_xml_channel_start
|
||||
*index_site_id.scrub {|}
|
||||
*index_site_id.modify {set|arydigital}
|
||||
*index_site_channel.modify {set|Arydigital}
|
||||
** @auto_xml_channel_end
|
||||
6
siteini.pack/Pakistan/geokahani.tv.channels.xml
Executable file
6
siteini.pack/Pakistan/geokahani.tv.channels.xml
Executable file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<site generator-info-name="WebGrab+Plus/w MDB & REX Postprocess -- version V2.0 -- Jan van Straaten" site="geokahani.com">
|
||||
<channels>
|
||||
<channel update="i" site="geokahani.tv" site_id="geokahani" xmltv_id="Geokahani">Geokahani</channel>
|
||||
</channels>
|
||||
</site>
|
||||
31
siteini.pack/Pakistan/geokahani.tv.ini
Executable file
31
siteini.pack/Pakistan/geokahani.tv.ini
Executable file
@@ -0,0 +1,31 @@
|
||||
**------------------------------------------------------------------------------------------------
|
||||
* @header_start
|
||||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||||
* @Site: geokahani.tv
|
||||
* @MinSWversion:
|
||||
* @Revision 0 - [08/04/2017] Netuddki
|
||||
* - create
|
||||
* @Remarks: none
|
||||
* @header_end
|
||||
**------------------------------------------------------------------------------------------------
|
||||
|
||||
site {url=geokahani.tv|timezone=Asia/Karachi|maxdays=7.1|cultureinfo=en-US|charset=UTF-8|titlematchfactor=90}
|
||||
site {ratingsystem=PK|episodesystem=onscreen|firstday=1234560}
|
||||
url_index {url|http://geokahani.tv/program-guide/}
|
||||
urldate.format {datestring|yyyy-MM-dd}
|
||||
|
||||
index_showsplit.scrub {multi|<ul class="showtime-schedule">|<li><header>|</li>|</ul>}
|
||||
*
|
||||
index_start.scrub {regex||<strong>(\d{1,2}:\d{2} [ap]m)</strong> -||}
|
||||
index_stop.scrub {regex||- <strong>(\d{1,2}:\d{2} [ap]m)||}
|
||||
index_title.scrub {regex||<h2>(.*?)</h2>||}
|
||||
index_showicon.scrub {regex||<img src="(.*?)"||}
|
||||
|
||||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||||
**
|
||||
** @auto_xml_channel_start
|
||||
*index_site_id.scrub {|}
|
||||
*index_site_id.modify {set|geokahani}
|
||||
*index_site_channel.modify {set|Geokahani}
|
||||
** @auto_xml_channel_end
|
||||
6
siteini.pack/Pakistan/harpalgeo.tv.channels.xml
Executable file
6
siteini.pack/Pakistan/harpalgeo.tv.channels.xml
Executable file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<site generator-info-name="WebGrab+Plus/w MDB & REX Postprocess -- version V1.57 -- Jan van Straaten" site="harpalgeo.tv">
|
||||
<channels>
|
||||
<channel update="i" site="harpalgeo.tv" site_id="har[algeo" xmltv_id="Har Pal Geo">Har Pal Geo</channel>
|
||||
</channels>
|
||||
</site>
|
||||
31
siteini.pack/Pakistan/harpalgeo.tv.ini
Executable file
31
siteini.pack/Pakistan/harpalgeo.tv.ini
Executable file
@@ -0,0 +1,31 @@
|
||||
**------------------------------------------------------------------------------------------------
|
||||
* @header_start
|
||||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||||
* @Site: harpalgeo.tv
|
||||
* @MinSWversion: V1.57
|
||||
* @Revision 0 - [25/09/2016] Blackbear199
|
||||
* - creation
|
||||
* @Remarks:
|
||||
* @header_end
|
||||
**------------------------------------------------------------------------------------------------
|
||||
site {url=harpalgeo.tv|timezone=UTC+05:00|maxdays=7|cultureinfo=ur-PK|charset=UTF-8|titlematchfactor=90}
|
||||
site {ratingsystem=PK|episodesystem=onscreen}
|
||||
url_index{url|http://harpalgeo.tv/tv-schedule/#_}
|
||||
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
||||
urldate.format {daycounter|0}
|
||||
*
|
||||
index_showsplit.scrub {multi|<article>||</article>|</article>}
|
||||
*
|
||||
index_start.scrub {single(separator=" - " include=first)|<div class="prog_time">||</div>|</div>}
|
||||
index_stop.scrub {single(separator=" - " include=last)|<div class="prog_time">||</div>|</div>}
|
||||
index_title.scrub {single|<div class="prog_title">||</div>|</div>}
|
||||
index_category.modify {addstart|Series}
|
||||
*
|
||||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||||
**
|
||||
** @auto_xml_channel_start
|
||||
*index_site_id.scrub {|}
|
||||
*index_site_id.modify {set|har[algeo}
|
||||
*index_site_channel.modify {set|Har Pal Geo}
|
||||
** @auto_xml_channel_end
|
||||
6
siteini.pack/Pakistan/hum.tv.channels.xml
Executable file
6
siteini.pack/Pakistan/hum.tv.channels.xml
Executable file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<site generator-info-name="WebGrab+Plus/w MDB & REX Postprocess -- version V1.57 -- Jan van Straaten" site="hum.tv">
|
||||
<channels>
|
||||
<channel update="i" site="hum.tv" site_id="humtv" xmltv_id="Hum TV">Hum TV</channel>
|
||||
</channels>
|
||||
</site>
|
||||
34
siteini.pack/Pakistan/hum.tv.ini
Executable file
34
siteini.pack/Pakistan/hum.tv.ini
Executable file
@@ -0,0 +1,34 @@
|
||||
**------------------------------------------------------------------------------------------------
|
||||
* @header_start
|
||||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||||
* @Site: hum.tv
|
||||
* @MinSWversion: V1.57
|
||||
* @Revision 1 - [05/04/2017] Netuddki
|
||||
* - Fixed scrubbing
|
||||
* @Revision 0 - [04/10/2016] Blackbear199
|
||||
* - creation
|
||||
* @Remarks:
|
||||
* @header_end
|
||||
**------------------------------------------------------------------------------------------------
|
||||
site {url=hum.tv|timezone=Asia/Karachi|maxdays=7.1|cultureinfo=en-US|charset=UTF-8|titlematchfactor=90}
|
||||
site {ratingsystem=US|episodesystem=onscreen|firstday=1234560}
|
||||
url_index{url|http://www.hum.tv/myfiles/schedule/}
|
||||
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
||||
urldate.format {daycounter|0}
|
||||
*
|
||||
*index_showsplit.scrub {multi|<div class="tab-pane
|
||||
|<tr>|</tr>|</table>}
|
||||
index_showsplit.scrub {regex||<tr>(.*?)</tr>||}
|
||||
*
|
||||
index_start.scrub {regex||<td class="style18">(\d+:\d+).*?\d+:\d+||}
|
||||
index_stop.scrub {regex||<td class="style18">\d+:\d+.*?(\d+:\d+)||}
|
||||
index_title.scrub {regex||<td class="style20">(.*?)</td>||}
|
||||
*
|
||||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||||
**
|
||||
** @auto_xml_channel_start
|
||||
*index_site_id.scrub {|}
|
||||
*index_site_id.modify {set|humtv}
|
||||
*index_site_channel.modify {set|Hum TV}
|
||||
** @auto_xml_channel_end
|
||||
6
siteini.pack/Pakistan/humsitaray.tv.channels.xml
Executable file
6
siteini.pack/Pakistan/humsitaray.tv.channels.xml
Executable file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<site generator-info-name="WebGrab+Plus/w MDB & REX Postprocess -- version V1.57 -- Jan van Straaten" site="humsitaray.tv">
|
||||
<channels>
|
||||
<channel update="i" site="humsitaray.tv" site_id="humsitaray" xmltv_id="Hum Sitaray">Hum Sitaray</channel>
|
||||
</channels>
|
||||
</site>
|
||||
37
siteini.pack/Pakistan/humsitaray.tv.ini
Executable file
37
siteini.pack/Pakistan/humsitaray.tv.ini
Executable file
@@ -0,0 +1,37 @@
|
||||
**------------------------------------------------------------------------------------------------
|
||||
* @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
|
||||
10
siteini.pack/Pakistan/ptv.com.pk.channels.xml
Executable file
10
siteini.pack/Pakistan/ptv.com.pk.channels.xml
Executable file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<site generator-info-name="WebGrab+Plus/w MDB & REX Postprocess -- version V1.56.25 -- Jan van Straaten" site="ptv.com.pk">
|
||||
<channels>
|
||||
<channel update="i" site="ptv.com.pk" site_id="3" xmltv_id="PTV Home">PTV Home</channel>
|
||||
<channel update="i" site="ptv.com.pk" site_id="1" xmltv_id="PTV World">PTV World</channel>
|
||||
<channel update="i" site="ptv.com.pk" site_id="2" xmltv_id="PTV Soprts">PTV Soprts</channel>
|
||||
<!--<channel update="i" site="ptv.com.pk" site_id="4" xmltv_id="PTV Global">PTV Global</channel>-->
|
||||
<channel update="i" site="ptv.com.pk" site_id="5" xmltv_id="PTV News">PTV News</channel>
|
||||
</channels>
|
||||
</site>
|
||||
43
siteini.pack/Pakistan/ptv.com.pk.ini
Executable file
43
siteini.pack/Pakistan/ptv.com.pk.ini
Executable file
@@ -0,0 +1,43 @@
|
||||
**------------------------------------------------------------------------------------------------
|
||||
* @header_start
|
||||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||||
* @Site: ptv.com.pk
|
||||
* @MinSWversion: 1.1.1/56.25
|
||||
* @Revision 1 - [04/07/2016] Blackbear199
|
||||
* - site change
|
||||
* @Revision 0 - [16/06/2016] Blackbear199
|
||||
* - creation
|
||||
* @Remarks:
|
||||
* @header_end
|
||||
**------------------------------------------------------------------------------------------------
|
||||
site {url=ptv.com.pk|timezone=UTC+05:00|maxdays=7|cultureinfo=en-US|charset=UTF-8|titlematchfactor=90|allowlastpageoverflow}
|
||||
site {ratingsystem=US|episodesystem=onscreen}
|
||||
url_index{url|http://ptv.com.pk/public/userView/getShowTvGuide?channel=|channel|&nameofday=|urldate|}
|
||||
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
||||
url_index.headers {customheader=X-Requested-With=XMLHttpRequest}
|
||||
urldate.format {datestring|dddd}
|
||||
*
|
||||
index_showsplit.scrub {regex||\{"tvGuidesId":.+?\}||}
|
||||
*
|
||||
scope.range{(indexshowdetails)|end}
|
||||
index_start.scrub {single(debug)|"programTime":"||"|"}
|
||||
index_start.modify {remove|:}
|
||||
index_start.modify {remove| }
|
||||
index_temp_1.modify {substring(type=char)|'index_start' 0 2}
|
||||
index_start.modify {remove|'index_temp_1'}
|
||||
index_temp_1.modify {addend|:}
|
||||
index_start.modify {addstart|'index_temp_1'}
|
||||
index_start.modify {calculate(format=time)}
|
||||
index_title.scrub {single|"programName":"||"|"}
|
||||
index_title.modify {remove|\\t}
|
||||
index_title.modify {cleanup}
|
||||
end_scope
|
||||
*
|
||||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||||
**
|
||||
** @auto_xml_channel_start
|
||||
*index_site_id.scrub {|}
|
||||
*index_site_id.modify {set|3\|1\|2\|5}
|
||||
*index_site_channel.modify {set|PTV Home\|PTV World\|PTV Soprts\|PTV News}
|
||||
** @auto_xml_channel_end
|
||||
6
siteini.pack/Pakistan/ptv_global.com.pk.channels.xml
Executable file
6
siteini.pack/Pakistan/ptv_global.com.pk.channels.xml
Executable file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<site generator-info-name="WebGrab+Plus/w MDB & REX Postprocess -- version V1.56.25 -- Jan van Straaten" site="ptv.com.pk">
|
||||
<channels>
|
||||
<channel update="i" site="ptv_global.com.pk" site_id="4" xmltv_id="PTV Home">PTV Global</channel>
|
||||
</channels>
|
||||
</site>
|
||||
32
siteini.pack/Pakistan/ptv_global.com.pk.ini
Executable file
32
siteini.pack/Pakistan/ptv_global.com.pk.ini
Executable file
@@ -0,0 +1,32 @@
|
||||
**------------------------------------------------------------------------------------------------
|
||||
* @header_start
|
||||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||||
* @Site: ptv_global.com.pk
|
||||
* @MinSWversion: 1.1.1/56.25
|
||||
* @Revision 0 - [16/06/2016] Blackbear199
|
||||
* - creation
|
||||
* @Remarks:
|
||||
* @header_end
|
||||
**------------------------------------------------------------------------------------------------
|
||||
site {url=ptv_global.com.pk|timezone=America/Vancouver|maxdays=7|cultureinfo=en-US|charset=UTF-8|titlematchfactor=90|allowlastpageoverflow}
|
||||
site {ratingsystem=US|episodesystem=onscreen}
|
||||
url_index{url|http://ptv.com.pk/public/userView/getShowTvGuide?channel=|channel|&nameofday=|urldate|}
|
||||
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
|
||||
urldate.format {datestring|dddd}
|
||||
*
|
||||
index_showsplit.scrub {regex||\{"tvGuidesId":.+?\}||}
|
||||
*
|
||||
scope.range{(indexshowdetails)|end}
|
||||
index_start.scrub {single(pattern="HHmm")|"programTime":"||PST|PST}
|
||||
index_title.scrub {single|"programName":"||"|"}
|
||||
index_title.modify {remove|\\t}
|
||||
end_scope
|
||||
*
|
||||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||||
**
|
||||
** @auto_xml_channel_start
|
||||
*index_site_id.scrub {|}
|
||||
*index_site_id.modify {set||4}
|
||||
*index_site_channel.modify {set|PTV Global}
|
||||
** @auto_xml_channel_end
|
||||
6
siteini.pack/Pakistan/urdu1.tv.channels.xml
Executable file
6
siteini.pack/Pakistan/urdu1.tv.channels.xml
Executable file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<site generator-info-name="WebGrab+Plus/w MDB & REX Postprocess -- version V2.0 -- Jan van Straaten" site="urdu1.tv">
|
||||
<channels>
|
||||
<channel update="i" site="urdu1.tv" site_id="urdu1" xmltv_id="Urdu 1">Urdu 1</channel>
|
||||
</channels>
|
||||
</site>
|
||||
37
siteini.pack/Pakistan/urdu1.tv.ini
Executable file
37
siteini.pack/Pakistan/urdu1.tv.ini
Executable file
@@ -0,0 +1,37 @@
|
||||
**------------------------------------------------------------------------------------------------
|
||||
* @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
|
||||
Reference in New Issue
Block a user