BeautifulSoup, findAll after findAll?
<p>I'm pretty new to Python and mainly need it for getting information from websites.
Here I tried to get the short headlines from the bottom of the website, but cant quite get them.</p>

<pre><code>from bfs4 import BeautifulSoup
import requests

url = "http://some-website"
r = requests.get(url)
soup = BeautifulSoup(r.content, "html.parser")

nachrichten = soup.findAll('ul', {'class':'list'})
</code></pre>

<p>Now I would need another findAll to get all the links/a from the var "nachrichten", but how can I do this ?</p>

<pre><code>from bs4 import BeautifulSoup
import requests

url = "http://some-website"
r = requests.get(url)
soup = BeautifulSoup(r.content, "html.parser")

for item in soup.findAll('ul', {'class':'list'})
    for link in item.findAll('a'):
        print link.text
</code></pre>

python beautifulsoup python-requests