Init
This commit is contained in:
73
siteini.pack/Poland/tv.wp.pl.ini
Executable file
73
siteini.pack/Poland/tv.wp.pl.ini
Executable file
@@ -0,0 +1,73 @@
|
||||
**------------------------------------------------------------------------------------------------
|
||||
* @header_start
|
||||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||||
* @Site: tv.wp.pl
|
||||
* @MinSWversion: V2.1
|
||||
* none
|
||||
* @Revision 8 - [24/03/2019] doglover
|
||||
* new website
|
||||
* @Revision 7 - [08/11/2015] Jan van Straaten
|
||||
* small change in urlshow , added channellist
|
||||
* @Revision 6 - [01/07/2012] Jan van Straaten/Porek388
|
||||
* completely new, site change
|
||||
* @Revision 5 - [10/02/2012] porek388
|
||||
* added duration, changed title + various other changes
|
||||
* @Revision 4 - []
|
||||
* change in description
|
||||
* @Revision 3 - []
|
||||
* adapted for 1.0.9
|
||||
* @Revision 2 - []
|
||||
* small change in description
|
||||
* @Remarks:
|
||||
* none
|
||||
* @header_end
|
||||
**------------------------------------------------------------------------------------------------
|
||||
site {url=tv.wp.pl|timezone=Europe/Warsaw|maxdays=7.1|cultureinfo=pl-PL|charset=utf-8|titlematchfactor=60|allowlastdayoverflow}
|
||||
url_index{url()|https://tv.wp.pl/api/v1/program/|urldate|/|channel|?days=7}
|
||||
urldate.format {datestring|yyyy-MM-dd}
|
||||
index_showsplit.scrub {multi()|{"id":|||}
|
||||
*
|
||||
index_start.scrub {single()|"start":"||",}
|
||||
index_stop.scrub {single()|"end":"||",}
|
||||
index_title.scrub {single()|"title":"||",|}
|
||||
index_titleoriginal.scrub {single()|"original_title":"||",|}
|
||||
index_subtitle.scrub {single()|"episode_title":"||",|}
|
||||
index_temp_1.scrub {single|"season_number":||,}
|
||||
index_temp_1.modify {addstart ('index_temp_1' not "")|S}
|
||||
index_episode.scrub {single|"part_number":"||",}
|
||||
index_episode.modify {addstart ('index_episode' not "")|E}
|
||||
index_episode.modify {addstart ('index_temp_1' not "")|'index_temp_1'}
|
||||
index_productiondate.scrub {single |"production_year":"||",|}
|
||||
index_category.scrub {single |"genre":"||",|}
|
||||
*
|
||||
index_urlshow.scrub {url(include=first)|https://tv.wp.pl/api/v1/entry/|"||","start"}
|
||||
title.scrub {single()|"title":"||",}
|
||||
temp_1.scrub {multi|"short_description":"||","|}
|
||||
description.scrub {multi|"long_description":"||","|}
|
||||
description.scrub {multi|"episode_long_description":"||","|}
|
||||
description.modify {cleanup}
|
||||
description.modify {remove|\}
|
||||
description.modify {replace|\||\n}
|
||||
description.modify {addstart ('description' = "")|'temp_1'}
|
||||
director.scrub {multi|"directors":|"name":|}|]}
|
||||
director.modify {remove|"}
|
||||
actor.scrub {multi|"actors":|"description":|}|]}
|
||||
actor.modify {replace|","name":"| - }
|
||||
actor.modify {remove|\}
|
||||
actor.modify {remove|"}
|
||||
*
|
||||
scope.range {(showdetails)|end}
|
||||
title.modify {cleanup}
|
||||
subtitle.modify {cleanup}
|
||||
episode.modify {cleanup}
|
||||
end_scope
|
||||
|
||||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||||
**
|
||||
** @auto_xml_channel_start
|
||||
*url_index {url()|https://tv.wp.pl/}
|
||||
*index_site_id.scrub {multi()|"ChannelsStore":|{"id":|,"name"|"ConfigStore"}
|
||||
*index_site_channel.scrub {multi()|"ChannelsStore":|"name":"|","slug"|"ConfigStore"}}
|
||||
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
||||
** @auto_xml_channel_end
|
||||
Reference in New Issue
Block a user