title: How to get all hrefs(inside <a tag) and assign them to a variable??
body: <p>I need all hrefs present in 'a' tag and assign it to a variable
  I did this, but only got first link</p>
  
  <pre><code>soup_level1 = BeautifulSoup(driver.page_source, 'lxml')
  userName = soup_level1.find(class_='_32mo')
  link1 = (userName.get('href'))
  </code></pre>
  
  <p>And the output i get is</p>
  
  <pre><code>print(link1)
  https://www.facebook.com/xxxxxx?ref=br_rs
  </code></pre>
  
  <p>But i need atleast top 3 or top 5 links
  The structure of webpage is</p>
  
  <pre><code> `&lt;div&gt;
    &lt;a class="_32mo" href="https://www.facebook.com/xxxxx?ref=br_rs"&gt;`
    &lt;/div&gt;
     &lt;div&gt;
    &lt;a class="_32mo" href="https://www.facebook.com/yyyyy?ref=br_rs"&gt;`
    &lt;/div&gt;
    &lt;div&gt;
    &lt;a class="_32mo" href="https://www.facebook.com/zzzzz?ref=br_rs"&gt;`
    &lt;/div&gt;
  </code></pre>
  
  <p>I need those hrefs</p>