# From version 1.1.0 we can specify URL here
# if url.txt file is present in -i folder,
# or is specified in command line- it has priority
#!href https://www.lrt.lt/naujienos/sportas
# or even
#!url https://www.lrt.lt/naujienos/sportas
# For compatibility with *nix systems do not write references as first line comments
# usr agent can be passed two
#!usragent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36"
# or even as
#!usragent "chrome"
# Note, that in both cases - full string or shortcut - agent value must be enclosed in ""
# We can also specify from_url value
#!fromurl https://www.lrt.lt
# Note, that first specified value is taken. Also, if value is specified implicitly, no search is performed in this file

#<div class="section-news-rubric__top">
#    <h3>
#        <a>
#            $Data[+]
#        </a>
#    </h3>
#</div>
#<div class="section-news-rubric__rest">
#    *<h3 class="news__title">
#        <a>
#            $Data[+]
#        </a>
#    </h3>
#</div>
<main class="page__content container">
    *<h3 class="news__title">
        <a $Href[+ "$BASEURL" @href]>
            $Data[+]
        </a>
    </h3>
</main>
:nN:"Rodomos pirmos " ($Data > 10 ? 10 : $Data) " iš " ($Data) " sporto antraščių iš lrt.lt";
:N ($Data > 10 ? 10 : $Data):$Data[];
