**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: tv.sms.cz.m * @MinSWversion: V1.1.1/51 * @Revision 2 - [22/11/2013] Peter Fuzek * - less unnecessary updates * @Revision 1 - [19/11/2013] Peter Fuzek * - replaced show icons with higher resolution pictures * @Revision 0 - [24/08/2013] Peter Fuzek / Francis De Paemeleere * - creation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ site {url=m.tv.sms.cz|timezone=UTC+01:00|maxdays=16|cultureinfo=cs-CZ|charset=windows-1250|titlematchfactor=50|episodesystem=xmltv_ns} url_index{url|http://m.tv.sms.cz/index.php?den=|urldate|&stanice=|channel|&cas=0} urldate.format {datestring|yyyy-MM-dd} index_showsplit.scrub {multi|id='obsah'|
|||
} index_title.scrub {single(include=2)||<|} index_urlshow {url||
} scope.range{(indexshowdetails)|end} index_start.modify {cleanup(tags="<"">")} index_start.modify {replace|.|:} index_title.modify {remove(type=regex)|"(\([0-9]*?\))$"} * remove any episode info from the title index_title.modify {remove(type=regex)|"(\([0-9]*?/[0-9]*?\))$"} * remove any episode info from the title index_title.modify {cleanup} index_title.modify {remove(type=regex)|" (X{0,3})(IX\|IV\|V?I{0,3})$"} *remove roman numerals index_title.modify {cleanup} end_scope title.scrub {single()|
|||
} title.scrub {single()|
|||
} episode.scrub {single()|díl: |||)} description.scrub {multi()|class="popis|
|
|
} director.scrub {multi(separator=",")|Režie:||
|
} actor.scrub {multi(separator=",")|Hrají:||
|
} category.scrub {multi(separator="/")|Žánr:||<|<} productiondate.scrub {single()|Year:||<|<} showicon.scrub {single()|
|src="|"|
|} showicon.modify {replace|/100/|/600/} scope.range{(showdetails)|end} title.modify {cleanup(tags="<"">")} title.modify {cleanup()} * temp_1 = season * temp_2 = episode * temp_3 = number of seasons * temp_4 = number of episodes episode.modify {cleanup(tags="<"">")} temp_1.modify {substring(type=regex)|'episode' "\(([0-9]*?)\. série.*?\)$"} temp_2.modify {substring(type=regex)|'episode' "\(.*?([0-9]*?)\. díl\)$"} temp_2.modify {substring(="" type=regex)|'title' "\(([0-9]*?)\)$"} temp_2.modify {substring(="" type=regex)|'title' "\(([0-9]*?)/[0-9]*?\)$"} temp_4.modify {substring(="" type=regex)|'title' "\([0-9]*?/([0-9]*?)\)$"} temp_1.modify {calculate(not="" format=F0)|1 -} temp_2.modify {calculate(not="" format=F0)|1 -} subtitle.modify {substring(type=regex)|'episode' "^(.*)\(.*?\)$"} episode.modify {clear} episode.modify {addend('temp_1' not="")|'temp_1'} episode.modify {addend('temp_3' not="")|/'temp_3'} episode.modify {addend()|.} episode.modify {addend('temp_2' not="")|'temp_2'} episode.modify {addend('temp_4' not="")|/'temp_4'} episode.modify {addend()|.} episode.modify {clear(="..")} title.modify {remove(type=regex)|"(díl\: .*?)$"} * remove any episode info from the title title.modify {remove(type=regex)|"^(Seriál: )"} title.modify {remove(type=regex)|"(\([0-9]*?\))$"} * remove any episode info from the title title.modify {remove(type=regex)|"(\([0-9]*?/[0-9]*?\))$"} * remove any episode info from the title title.modify {cleanup()} description.modify {substring(type=regex)|"^(?:.*?(.*?))"} * only get the info, not the description titles description.modify {replace|">...|">} description.modify {cleanup(tags="<"">")} actor.modify {remove| a další} end_scope ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *url_index{url|http://m.tv.sms.cz/?cas=0&zmen_stanice=true} *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