title: Getting href links from a website using Python's Beautiful Soup module
body: <p>I am trying to get the href links from this <a href="https://illinois.campuslabs.com/engage/organizations?query=badminton" rel="nofollow noreferrer">page</a>, specifically the links to the pages of those respective clubs. My current code is as follows. I have not included the imports. If needed, I just did import requests and from bs4 import BeautifulSoup:</p>
  <pre><code>rsoLink = &quot;https://illinois.campuslabs.com/engage/organizations?query=badminton&quot;
  page = requests.get(rsoLink)
  beautifulPage = BeautifulSoup(page.content, 'html.parser')
  for link in beautifulPage.findAll(&quot;a&quot;):
    print(link.get('href'))
  </code></pre>
  <p>My output is empty, suggesting that the program did not find the links. When I looked at the HTML structure of the page, the &quot;a&quot; tags seem to be nested deep within the page's structure (they are inside an element which is within another element, which itself is inside an another element). My question is how I would access the links then; do I have to go through all these elements?</p>