**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: eonet.jp * @MinSWversion: 1.1.1/54 * @Revision 2 - [021/02/2017] Netuddki * - Minor fix for title scrub * @Revision 1 - [08/01/2017] Netuddki * - Minor fix for title scrub * @Revision 0 - [01/05/2016] Blackbear199 * - creation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ site {url=eonet.jp|timezone=Asia/Tokyo|maxdays=8|cultureinfo=ja-JP|charset=Shift_JIS|titlematchfactor=90} site {ratingsystem=JP|episodesystem=onscreen} url_index{url|http://hikaritv.eonet.jp/program/tv.php?site=039&mode=07&shour=01&lhour=24&category=sa&ldate=1&template=channel_program&station=|channel|&sdate=|urldate|} url_index.headers {customheader=Accept-Encoding=gzip,deflate} urldate.format {datestring|yyyyMMdd} * index_showsplit.scrub {multi|
||} * index_start.scrub {regex||

(\d{2}:\d{2})||} index_title.scrub {single|template=detail|">|} index_title.modify {remove(type=regex)|(#\d+)} index_title.modify {remove(type=regex)|(シーズン\d+)} index_title.modify {remove|[SS]} index_title.modify {remove|(字)} index_title.modify {remove|[字]} index_title.modify {remove|(} index_title.modify {remove|)} index_title.modify {cleanup (tags="<"">")} * index_urlshow {url|http://hikaritv.eonet.jp/program/||">} index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate} * title.scrub {single|||} title.modify {cleanup (tags="<"">")} description.scrub {single|【番組概要】|||} actor.scrub {single|【出演】|||} category.scrub {single|search&category=sg&arg=20">|||} * scope.range{(showdetails)|end} description.modify {remove(type=regex)|<.+?>} * actor.modify {remove(type=regex)|(.+?)} actor.modify {substring(type=regex)|"\[[^\[]*"} actor.modify {remove(type=regex)|\[.+?\]} * title.modify {remove|[SS]} title.modify {remove|(字)} title.modify {remove|[字]} title.modify {remove|(} title.modify {remove|)} * temp_1.modify {substring(type=regex)|'title' "シーズン\d+"} *season temp_2.modify {substring(type=regex)|'title' "#\d+"} *episode title.modify {remove|'temp_1'} title.modify {remove|'temp_2'} temp_1.modify {replace|シーズン|S} temp_2.modify {replace|#|E} episode.modify {addstart('temp_1' not "")|'temp_1'} episode.modify {addend('temp_2' not "")|'temp_2'} * description.modify {remove(type=regex)|^.*◇.+?◇} * category.modify {replace|/|\|} end_scope ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *site {url=eonet.jp|cultureinfo=ja-JP|charset=UTF-8} *url_index{url|http://hikaritv.eonet.jp/039/json/channel_genre/003.json} *url_index.headers {accept=application/json, text/javascript, */*} *index_site_id.scrub {multi|{"||":|":} *index_site_channel.scrub {multi|: "||"}|"}} *index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")} ** @auto_xml_channel_end