Webscraping with Python. Using select() method for a string that has spaces
<p>I am trying to get the link (href) off a website. The element is:</p>

<pre><code>&lt;a class="overlay no-outline" href="/photos/28716729@N06/2834595694/" tabindex="0" role="heading" aria-level="3" aria-label="puppy by mpappas83" data-rapid_p="61" id="yui_3_16_0_1_1477971884605_5513"&gt;&lt;/a&gt;
</code></pre>

<p>First I am trying to match the class <code>"overlay no-outline"</code>.
But notice that it has a space, so the <code>select()</code> method is treating it like they are two different selectors instead of one.</p>

<pre><code>imgElem= soup.select('.overlay no-outline')      #attempt
</code></pre>

<p>Does anyone know how would I be able to achieve this?</p>

<p>The website is at <a href="https://www.flickr.com/search/?text=cars" rel="nofollow">www.flickr.com</a></p>