Question: Here is HTML: 

```
<div class="vl-article-title">

    <h3>
        <span style="font-size: 24px;">
            <a href="http://www.15min.lt/naujiena/sportas/fifa-2014/desimt-pasaul…onato-debiutantu-kurie-atkreips-jusu-demesi-813-430673?cf=vl"></a>
        </span>
    </h3>
</div>

```

I need to get only links (a) but I don't know how. Is it possible to do something like this:

```
h3 = soup.select('div.vl-article-title > h3 > a')

```

?

Answer: 
The > sign is the direct descendant selector. It will not match the A element because there's a span in between.

You should be able to do this:

```
h3 = soup.select('div.vl-article-title > h3 > span > a')

```

Or, if it's OK to be a little less specific with the selector:

```
h3 = soup.select('div.vl-article-title a')

```

That matches all a elements which are undir the div with the class vl-article-title.

**EDIT:**

Sorry, been a while since I used beautiful soup, I mistakenly thought it worked with CSS selectors, but it does not.

One way to do this is:

```
a = soup.find("div", attrs={"class": "vl-article-title"}).find("h3").find("span").find("a")

```
If that's the entire HTML, then you can simply do the following:

```
soup = BeautifulSoup(html)
link = soup.find("a").attrs["href"] # this gives you the link as a string

```

If there are multiple `<a>` tags in the page, you can replace the `find("a")` with `find_all("a")`, which returns an iterator. 

**EDIT** per request, `<a>` tags being located within `<h3>` tag:

`link = soup.find("h3").find("a").attrs["href"]`