**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: hitstv.com * @MinSWversion: * @Revision 0 - [05/07/2020] Francis De Paemeleere * - creation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ site {url=hitstv.com|timezone=Asia/Singapore|maxdays=7|cultureinfo=en-GB|charset=UTF-8|titlematchfactor=90} *site {ratingsystem=ES|episodesystem=onscreen|grabengine=|firstshow=0|firstday=0000000} urldate.format {daycounter|0} *subpage.format {number||1|} url_index{url(debug)|https://www.hitstv.com/schedule.php} url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages index_showsplit.scrub {multi|(.*?)-||} index_start.modify {replace(type=regex)|\[01]\d:\[0-5]\d(\[ap]\[m])|\[01]\d:\[0-5]\d} index_stop.scrub {single|
|m -|
} index_stop.modify {replace(type=regex)|\[01]\d:\[0-5]\d\[ap]\[m]|\[01]\d:\[0-5]\d} index_title.scrub {regex(debug)||(.*?)
\s*
||} index_urlshow {url(debug)(include="https://www.hitstv.com/shows/show-details.php?id=")||href="/shows/show-details.php?id=|||">} index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate} index_urlshow.headers {customheader=Referer=https://www.hitstv.com/schedule.php} end_scope *Below is to scrub from show-details.php scope.range {(showdetails)|end} title.scrub {regex(debug)||
\s*(.*?)s*
||} description.scrub {regex(debug)||

(.*?)

\s*
||} end_scope ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *index_site_channel.scrub {multi|} *index_site_id.scrub {multi|} *scope.range {(channellist)|end} *index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")} *end_scope ** @auto_xml_channel_end