Files
epg/siteini.pack/Networks/uk.amcnetworks.outdoor.com.ini
freearhey a597b11307 Init
2021-03-09 22:46:37 +03:00

46 lines
1.9 KiB
INI
Executable File

**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: uk.amcnetworks.com
* @MinSWversion:
* @Revision 1 - [02/03/2017] Netuddki
* - Remove Duplicates
* @Revision 0 - [06/05/2017] Netuddki
* - creation
* @Remarks: n/a
* @header_end
**------------------------------------------------------------------------------------------------
site {url=uk.amcnetworks.com|timezone=UTC|maxdays=7|cultureinfo=en-GB|charset=UTF-8|titlematchfactor=90}
site {ratingsystem=GB}
*
site {episodesystem=onscreen} *Enable for Onscreen Episode System
*site {episodesystem=xmltv_ns} *Enable for xmltv_ns Episode System
*
url_index{url|http://www.uk.amcnetworks.com/outdoor/index.php?section=day&date=|urldate|}
urldate.format {datestring|yyyy:MM:dd}
*
index_showsplit.scrub {regex||<td width="205" valign="top">(.*?)</tr>||}
index_showsplit.modify {remove(type=regex)|<a href="(.*?)"}
index_showsplit.modify {cleanup(removeduplicates)}
*
index_start.scrub {regex||(\d+:\d+)||}
*
index_title.scrub {regex||class="title" target="_self">(.*?)</a>||}
index_description.scrub {regex||<span class="sub-title">.*?<br>(.*?)</td>||}
index_description.modify {cleanup(tags="<"">"}
*
index_productiondate.scrub {regex||<span class="sub-title">.*?(\d{4}),||}
index_episode.scrub {regex set(pattern="Episode 'E1'")||<span class="sub-title">.*?(Episode \d+)||}
index_showicon.scrub {regex||<img src="../(.*?)"||}
index_showicon.modify {addstart|http://www.uk.amcnetworks.com/}
*
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
*index_site_id.scrub {|}
*index_site_id.modify {set|outdoorchannel}
*index_site_channel.modify {set|Outdoor Channel EU, ME, Africa}
** @auto_xml_channel_end