Files
epg/siteini.pack/UK/m.tvguide.co.uk-index.ini
freearhey a597b11307 Init
2021-03-09 22:46:37 +03:00

91 lines
4.2 KiB
INI
Executable File

**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: tvguide.co.uk
* @MinSWversion: V1.1.1/53
* none
* @Revision 3 - [18/03/2017] Netuddki (using some code by Blackbear199)
* Further improvements
* @Revision 2 - [08/03/2017] Netuddki
* Fixed titlescrub
* Added productiondate
* Added Actor
* Added Category
* Added Subtitle
* Changed Rating to Star Rating
* Fixed Onscreen Episode System
* Added xmltv_ns Episode System
* Added "No Detail" if Description empty
*
* @Revision 1 - [17/07/2016] Blackberar199
* showsplit change,start fix
* @Revision 0 - [19/05/2016] Willy De Wilde
* mobile version
* @Remarks:
* none
* @header_end
**------------------------------------------------------------------------------------------------
site {url=tvguide.co.uk|timezone=Europe/London|maxdays=7.1|cultureinfo=en-GB|charset=UTF-8|titlematchfactor=90|allowlastpageoverflow}
*
site {ratingsystem=GB|episodesystem=onscreen|} *Enable for Onscreen Episode System
*site {ratingsystem=GB|episodesystem=xmltv_ns|} *Enable for xmltv_ns Episode System
*
url_index{url|http://www.tvguide.co.uk/mobile/channellisting.asp?ch=|channel|}
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
urldate.format {datestring|M/d/yyyy}
*
index_showsplit.scrub {multi(exclude="ADTECH""<td colspan")|<div id="channel-listings">|<tr>|</tr>|<!-- Begin comScore Tag -->}
index_start.scrub {single|<td class="time|">|</td>|</td>}
index_start.modify {replace|am| am}
index_start.modify {replace|pm| pm}
*
index_title.scrub {regex||<div class=\"title\".*?\">(.*?)<\/div>||}
index_title.modify {remove(type=regex)|(<.*?>)}
*
index_productiondate.modify {substring(type=regex)|'index_title' "\s\((\d{4})\)"}
index_title.modify {remove|('index_productiondate')}
*
index_temp_1.scrub {single|<div class="detail">||</div>|</div>}
index_temp_1.modify {replace|<br><br>|##}
index_temp_1.modify {replace|<br>|@@}
index_temp_1.modify {replace|<div class="other">|&&}
index_subtitle.modify {substring(type=regex)|'index_temp_1' "^(.*?)@@"}
index_description.modify {substring(type=regex)|'index_temp_1' "(?:(?:.*?@@)?(?:.*?##)?)?\s*(.*?)&&"}
*
index_temp_2.scrub {single(separator=".""!""?" include=last)|<div class="detail">||<div}
index_temp_2.modify {remove|with |}
index_temp_2.modify {replace| and |, }
index_temp_2.modify {remove|guest appearances from |}
index_temp_3.modify {substring(type=regex)|'index_temp_2' "[Ss]tarring(.*)(?:,*(.*))\|(.*)guest stars(?:,*(.*))\|(^.*)star$\|co-star(.*)\|written by(.*)\|(.*)plays the title role(?:,*(.*))"}
index_actor.modify {addstart|'index_temp_3'}
index_actor.modify {remove(type=regex)|( as a .*)}
*
index_temp_4.scrub {regex||<div class="detail">.*?(Season\s\d+).*?<div||}
index_temp_5.scrub {regex||<div class="detail">.*?(Episode\s\d+\/\d+).*?<div||}
index_temp_4.modify {addend('index_temp_5' not "")|'index_temp_5'}
index_episode.modify {set(pattern="Season 'S1' Episode 'E1'/'Et1'""Season 'S1'")|'index_temp_4'}
*
index_temp_6.scrub {single(separator=".""!""?" include=last)|<div class="detail">||<div}
index_category.modify {substring(type=regex)|'index_temp_6' "([Dd]etective drama)\|([Cc]rime drama)\|([Dd]rama)\|([Mm]edical drama)\|([Cc]omedy)\|([Cc]lassic comedy)\|(adventure)"}
*
index_description.modify {addend("")|No Details Available.}
*
index_starrating.scrub {single|<div class="rating">||</div>}
index_starrating.modify {cleanup(tags="<"">")}
index_starrating.modify {remove|Rating: }
*
*
*
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
* enable the following three lines to create a channel list file for only the selected files
* channels from the desktop version
*url_index{url|http://my.tvguide.co.uk/channellisting.asp?ch=856}
*index_site_channel.scrub {multi|<option value=|>|</option>|</table>}
*index_site_id.scrub {multi|<option value=||>|</table>}
** @auto_xml_channel_end