**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: spfl.co.uk
* @MinSWversion: 1.1.1/56.27
* @Revision 1 - [24/07/2016] Blackbear199
* - forgot a end_scope
* @Revision 0 - [18/07/2016] Blackbear199
* - creation
* @Remarks:
* @header_end
**------------------------------------------------------------------------------------------------
site {url=spfl.co.uk|timezone=Europe/London|maxdays=14.1|cultureinfo=en-GB|charset=UTF-8|titlematchfactor=90}
site {ratingsystem=GB|episodesystem=onscreen}
url_index{url|http://spfl.co.uk/tv-games/}
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
urldate.format {datestring|yyyy-MM-dd}
*
scope.range{(splitindex)|end}
index_showsplit.scrub {multi||||}
index_temp_9.modify {substring(type=regex)|'index_showsplit' "
(.+?)<\/div><\/div><\/div><\/div>"}
loop{(each "index_temp_8" in 'index_temp_9')|end}
index_temp_7.modify {substring(type=regex)|'index_temp_8' "
.*?<\/h4>"}
index_temp_8.modify {remove|'index_temp_7'}
index_temp_8.modify {replace||'index_temp_7'
}
index_temp_6.modify {addend|'index_temp_8'}
end_loop
index_showsplit.modify {clear}
index_showsplit.modify {substring(type=regex)|'index_temp_6' "
.+?
"}
end_scope
*
scope.range{(indexshowdetails)|end}
index_temp_1.scrub {single|||||
|
}
index_temp_2.modify {addstart|'index_temp_1' }
index_start.modify {addstart(pattern="ddd d MMMM yyyy HH:mm")|'index_temp_2'}
index_duration.modify {set|180}
index_title.scrub {single|||}
index_description.scrub {single||||}
index_description.modify {replace|v| vs }
index_category.modify {addstart|Sports}
end_scope
*
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
*index_site_id.scrub {|}
*index_site_id.modify {set|spfl}
*index_site_channel.modify {set|SPFL}
** @auto_xml_channel_end