41 lines
1.9 KiB
INI
Executable File
41 lines
1.9 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
||
* @header_start
|
||
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
||
* @Site: mtv.co.uk
|
||
* @MinSWversion: 1.1.1/54
|
||
* @Revision 0 - [21/04/2016] Blackbear199
|
||
* - creation
|
||
* @Remarks:
|
||
* @header_end
|
||
**------------------------------------------------------------------------------------------------
|
||
site {url=mtv.co.uk|timezone=UTC|maxdays=7|cultureinfo=en-GB|charset=UTF-8|titlematchfactor=90}
|
||
site {ratingsystem=UK|episodesystem=onscreen}
|
||
url_index{url|http://www.mtv.co.uk/|channel|?page=|urldate|}
|
||
urldate.format {list||1|2|3|4|5|6}
|
||
|
||
index_showsplit.scrub {multi|panel-pane pane-vimn-epg-items|class="epg-item-title"|</li>|</section>}
|
||
*index_urlchannellogo {url| }
|
||
*
|
||
index_start.scrub {single|data-time="||">|">}
|
||
index_title.scrub {single|<h3>||</h3>|</h3>}
|
||
index_description.scrub {single|<p>||</p>|</p>}
|
||
index_category.modify {addstart|Music}
|
||
index_episode.modify {substring(type=regex)|'index_description' "[^>]*\((S\d+, ep\d+)\)"}
|
||
index_productiondate.modify {substring(type=regex)|'index_description' "[^>]*\((\d{4})\)"}
|
||
*
|
||
index_description.modify {cleanup(tags="<a href""</a>")}
|
||
index_description.modify {cleanup(tags="<img""/>")}
|
||
index_description.modify {remove(type=regex)|\(.*\)}
|
||
index_episode.modify {replace|, ep|E}
|
||
*
|
||
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
||
**
|
||
** @auto_xml_channel_start
|
||
*url_index{url|http://www.mtv.co.uk/mtv}
|
||
*index_site_channel.scrub {multi|<li class="logo|>|</a>|</ul>}
|
||
*index_site_channel.modify {cleanup(tags="<"">")}
|
||
*index_site_id.scrub {multi|<li class="logo|<a href="/|"|</ul>}
|
||
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
|
||
** @auto_xml_channel_end
|