**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: tvprofil.net * @MinSWversion: V1.1.1/55 * @Revision 3 - [03/02/2016] Jan van Straaten * * uses 'weekly' url for two days, the daily url has no more than 1 day now! * - = Croatian and not Bosnian * @Revision 2 - [29/11/2013] Francis De Paemeleere * 15 days support now (instead of 14) * @Revision 1 - [17/01/2013] Francis De Paemeleere * fix index_stop error * added new auto_xml_channel * @Revision 0 - [22/09/2012] Jan van Straaten * none * @Remarks: * using the xmltv feed * @header_end **------------------------------------------------------------------------------------------------ site {url=tvprofil.net|timezone=Europe/Sofia|maxdays=3.1|cultureinfo=hr-HR|charset=utf-8|titlematchfactor=90|episodesystem=onscreen|ratingsystem=HR} *url_index{url(debug)|http://tvprofil.net/xmltv/data/|channel|/|urldate|_|channel|_tvprofil.net.xml} url_index{url()|http://tvprofil.net/xmltv/data/|channel|/weekly_|channel|_tvprofil.net.xml} *urldate.format {datestring|yyyy-MM-dd} index_showsplit.scrub {multi||} * index_start.scrub {single()|start="||"|>} index_stop.scrub {single|stop="||"|>} *start="20120922004200" stop="20120922021200" index_title.scrub {single(separator=": "", " include=first)|||} index_subtitle.scrub {single(separator=": " include=2)|||} index_category.scrub {single(separator=", " include=2)|||} index_description.scrub {single|||} index_actor.scrub {multi||||} index_director.scrub {multi||||} index_writer.scrub {multi||||} index_producer.scrub {multi||||} index_presenter.scrub {multi||||} index_productiondate.scrub {single||||} index_category.scrub {multi|||} index_temp_3.scrub {single|||} index_episode.scrub {single||||} index_premiere.scrub {single|channel|||} index_previousshown.scrub {single|channel|||} index_temp_2.scrub {single||||} * *operations scope.range {(indexshowdetails)|end} index_start.modify {substring(type=char)|8 4} index_temp_1.modify {substring(type=char)|'index_start' 0 2} * the hours index_start.modify {substring(type=char)|2 2} * the minutes index_start.modify {addstart()|'index_temp_1':} index_stop.modify {substring(type=char)|8 4} index_temp_1.modify {substring(type=char)|'index_stop' 0 2} * the hours index_stop.modify {substring(type=char)|2 2} * the minutes index_stop.modify {addstart()|'index_temp_1':} index_description.modify {cleanup} index_description.modify {addend('index_temp_2' not "")|\nZemjla: 'index_temp_2'} * adds country index_premiere.modify {replace(~~ "")|'index_premiere'|true} index_previousshown.modify {replace(~~ "")|'index_previousshown'|true} * repair starrating (sometimes given as 7.9000000953674/10) index_temp_3.modify {replace|/| } index_starrating.modify {calculate(format=F1)|'index_temp_3'} index_starrating.modify {addend|/10} index_starrating.modify {clear(= "0.0/10")} end_scope * ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start ** removed the old xml channel grabbing because not all channels are in there *url_index {url|http://tvprofil.net/xmltv/data/channel-list.tvprofil.net.xml} *index_site_channel.scrub {multi()||||} *index_site_id.scrub {multi||">} ** ** another page with html feed to get the xml channels ** not all of these channels are available to the public **url_index {url|http://tvprofil.net/xmltv/} **index_site_channel.scrub {multi(exclude=first)|
|
} **index_site_id.scrub {multi()|weekly_|_tvprofil.net.xml} **index_site_channel.modify{remove|title="Not avaliable for public use">
} **index_site_channel.modify{remove|>} ** @auto_xml_channel_end