**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: vodafone.co.nz * @MinSWversion: V1.57 * @Revision 0 - [02/12/2016] Blackbear199 * - creation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ site {url=vodafone.co.nz|timezone=Pacific/Auckland|maxdays=7|cultureinfo=en-NZ|charset=ISO-8859-1|titlematchfactor=90} site {ratingsystem=NZ|episodesystem=onscreen|keepindexpage} * url_index{url|http://customerzone.vodafone.co.nz/residential/inhome/tv/tvguide/tvg-griddown-base.cfm} * url_index.headers {method=POST} url_index.headers {customheader=Accept-Encoding=gzip,deflate} url_index.headers {accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8} url_index.headers {contenttype=application/x-www-form-urlencoded} url_index.headers {postdata=v=gd&d='urldate'&h='subpage'&f=12&c=all&user_chan_list='channel'&user_chan_list='channel'} * urldate.format {datestring|yyyy-MM-dd} subpage.format {list|0|12} * index_showsplit.scrub {multi(includeblock="tvgtime")||||} index_showsplit.modify {replace|

|\|} * index_urlshow {url|http://customerzone.vodafone.co.nz/residential/inhome/tv/tvguide/|openBrWindow('||'|'} index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate} * *index_urlchannellogo {url| } * index_start.scrub {single||||} index_start.modify {replace|am| am} index_start.modify {replace|pm| pm} index_title.scrub {single|||} index_rating.scrub {single|(||)|)} * scope.range{(showdetails)|end} title.scrub {single||
|||} description.modify {cleanup(tags="<"">")} actor.modify {substring(type=regex)|'description' "Starring:(.*)$"} actor.modify {remove(type=regex)|\.(?:\s\d{4}\.)?$} actor.modify {replace|, |\|} description.modify {remove('actor' not "" type=regex)|Starring:\s.*$} category.scrub {single|Genre: |||} episode.modify {substring(type=regex pattern="S'S1' Ep'E1'"))|'description' "S\d+ Ep\d+"} * description.modify {remove('episode' not "")|'episode'. } description.modify {cleanup} end_scope * ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *url_index.headers {postdata=v=gd&d='urldate'&h=0&f=3&c=all&user_chan_list=TV1A} *scope.range{(channellist)|end} *index_site_id.scrub {multi|color:#7C7C7C; width:125px; ">|||} *index_site_channel.modify {substring(type=regex)|'index_site_id' "option[^>]*>([^<]*)<\/option>"} *index_site_id.modify {substring(type=regex)|"value=\"([^\"]*)\""} *index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")} *end_scope ** @auto_xml_channel_end