title: I am having trouble finding specific links from one site
body: <p>So yes, I would like to pull all the links that lead me to raffles</p>
  <p><a href="https://i.stack.imgur.com/1SggA.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1SggA.jpg" alt="raffle link location" /></a></p>
  <p>I know what the command is for finding the links I need.</p>
  <pre><code>elems = chrome.find_elements_by_xpath(&quot;//a[@href]&quot;)
  for elem in elems:
      print(elem.get_attribute(&quot;href&quot;))
  </code></pre>
  <p>The problem is that it also finds things I don't need.</p>
  <p><a href="https://i.stack.imgur.com/xY4j9.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xY4j9.jpg" alt="poop" /></a></p>
  <p>Is there a command to search for these links only in elements with the class name &quot;raffle-name&quot;</p>