title: How to use beautiful soup to extract Wikipedia links in a specific section?
body: <p>I am trying to extract the URLs in <strong>See Also</strong> section of the Wikipedia page <a href="https://en.wikipedia.org/wiki/Privacy_law" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/Privacy_law</a>.</p>
  <p>I have tried the following code:</p>
  <pre><code>url_req = &quot;https://en.wikipedia.org/wiki/Privacy_law&quot;
  response = requests.get(url=url_req,)
  soup = BeautifulSoup(response.content, 'html.parser')
  
  snippet = soup.find_all('h2')
  for headline in snippet:
      if re.findall('see.{0,5}also',str(headline),re.IGNORECASE):
          links = headline.findall('a')
  print(links)
  </code></pre>
  <p>I am able to locate the correct headline but not able to reach the URLs. They are in a <code>&lt;div&gt;</code> after this specific <code>&lt;h2&gt;</code>. How to get these URLs?</p>