**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: svt.se * @MinSWversion: V0 * none * @Revision 4 - [26/04/2016] Blackbear199 * site change * @Revision 3 - [10/11/2012] Jan van Straaten * site change * @Revision 2 - [] * added director, removes episode, actor and director from description * @Revision 1 - [] * small change in description * @Remarks: * none * @header_end **------------------------------------------------------------------------------------------------ site {url=svt.se|timezone=UTC+01:00|maxdays=21|cultureinfo=sv-SE|charset=utf-8|titlematchfactor=90|episodesystem=onscreen|subtitlestype=teletext} url_index{url()|http://svt.se/tv-tabla/|channel|/|urldate} *http://www.svt.se/tv-tabla/SVT1/2012-11-13 urldate.format {datestring|yyyy-MM-dd} index_urlshow {url|} * index_showsplit.scrub {multi||||} index_stop.scrub {single(separator="- " exclude=first)||||} * some shows have a stop time that is different from next start index_title.scrub {single||} index_description.scrub {single |
|class="svtXMargin-Bottom-10px">|

|
} index_episode.scrub {single (separator="."":" include="Del ")|
|class="svtXMargin-Bottom-10px">|

|
} index_presenter.scrub {single (separator="." include="Programledare: ""Programledare ")|
|

|

|
} index_temp_1.scrub {multi(separator=" " include=first2)|
|Programledaren |

|} index_temp_2.scrub {single|
|rollerna:|.|} * actor index_director.scrub {multi(separator=", "" och ")|
|Regi:|.|} index_productiondate.scrub {single|
|class="svtXMargin-Bottom-10px">|

|
} index_videoquality.scrub {single(include="HD")|
|||
} index_videoaspect.scrub {single(include="4:3""16:9")|
|||
} index_subtitles.scrub {single(include="Textat")|
|

|

|
} * * operations: scope.range {(indexshowdetails)|end} index_start.modify {replace|.|:} index_stop.modify {replace|.|:} index_title.modify {cleanup(tags="<"">")} index_presenter.modify {replace| och |\|} index_temp_2.modify {addend|##} index_temp_2.modify {remove| m##} index_temp_2.modify {remove| mfl##} index_temp_2.modify {remove|##} index_temp_2.modify {replace| och |\|} index_temp_2.modify {replace|, |\|} index_actor.modify {addstart|'index_temp_2'} index_description.modify {remove('index_episode' not "")|'index_episode'.} index_description.modify {remove('index_presenter' not "")|'{single (separator="." include="Programledare: ""Programledare ")|
|

|

|}'.} * remove presenter index_description.modify {remove('index_temp_2' not "")|I rollerna: '{single|
|rollerna:|.|
}'.fl} * remove actor index_description.modify {remove('index_temp_2' not "")|I rollerna: '{single|
|rollerna:|.|
}'.} * remove actor index_description.modify {remove('index_director' not "")|Regi: '{multi|
|Regi:|.|
}'.} * remove directer index_description.modify {cleanup} index_episode.modify {cleanup} index_episode.modify {remove|.} index_presenter.modify {remove|Programledare } index_presenter.modify {remove|Programledare: } index_presenter.modify {remove|är } index_presenter.modify {remove|.} index_temp_1.modify {replace|\|| } index_presenter.modify {addend(null)|'index_temp_1'} index_actor.modify {remove|m.fl.} index_description.modify {addstart(null)|inga Detaljer} index_videoquality.modify {replace(~ "HD")|'index_videoquality'|HD} index_videoaspect.modify {replace(~ "4:3")|'index_videoaspect'|4:3} index_subtitles.modify {replace(not "")|'index_subtitles'|true} end_scope * * enable the following two lines to create a channel list file: *index_url {url|http://www.svt.se/tv-tabla/} *index_site_channel.scrub {multi||