**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: nowo.pt * @MinSWversion: V1.57 * @Revision 0 - [07/11/2016] Blackbear199 * - creation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ site {url=nowo.pt|timezone=Europe/Lisbon|maxdays=6|cultureinfo=pt-PT|charset=UTF-8|titlematchfactor=90} site {ratingsystem=PT|episodesystem=onscreen|keepindexpage} * url_index{url|http://www.nowo.pt/tv/tv_guiatv.php?|urldate|&h=|subpage|&c=100&f=Todos&o=iziepg_schedule&epg_face=yes} url_index.headers {customheader=Accept-Encoding=gzip,deflate} * urldate.format {datestring|"y="yyyy"&m="M"&d="d} subpage.format {list|4|16} * index_variable_element.modify {set|'config_site_id'} index_showsplit.scrub {multi(includeblock="src="/resources/logos_canais/'index_variable_element'thumb9.png"")|
|||} scope.range{(splitindex)|end} index_showsplit.modify {substring(type=regex)|""} index_temp_1.modify {substring(type=regex)|'index_showsplit' "schedule-id=\"(\d+)\""} index_temp_1.modify {cleanup(removeduplicates link="index_showsplit")} end_scope * index_urlshow {url|http://www.nowo.pt/tv_guiatv.php?program=|schedule-id="||"|"} index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate} * index_urlchannellogo {url(includeblock="'index_variable_element'")|http://www.nowo.pt|
|} * index_start.scrub {single(separator="-" include=first)|

||

|

} *index_stop.scrub {single(separator="-" include=last)|

||

|

} *do not use,some stop times do not match next start time index_title.scrub {single|

||

|

} * index_title.modify {cleanup} index_title.modify {remove(type=regex)|\s\(\d+\):\sEp\s\d+} * title.scrub {regex||"title":"(.*?)(?:\s\(\d+\):\sEp\s\d+)?"||} description.scrub {single|"description":"||"|"} category.scrub {single|"content_category":"||"|"} episode.scrub {regex(pattern="('S1'): Ep 'E1'")||"title":".*?\s(\(\d+\):\sEp\s\d+)"||} * title.modify {cleanup} description.modify {cleanup} category.modify {cleanup} ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *index_site_id.scrub {regex||