title: Unable to use multiple attributes within .select() method
body: <p>I've written a script in python to get the different links to the different posts from a website. I can get the desired output if I choose any single attribute like <code>a[href^='/questions/']</code> or <code>.question-hyperlink</code>. </p>
  
  <blockquote>
    <p><strong><em>My question is: how can I use two attributes from the same node within the <code>.select()</code> method like I've tried below?</em></strong></p>
  </blockquote>
  
  <p>My attempt so far (produces no result; no error either):</p>
  
  <pre><code>import requests
  from bs4 import BeautifulSoup
  
  link = "https://stackoverflow.com/questions/tagged/web-scraping"
  
  res = requests.get(link)
  soup = BeautifulSoup(res.text,'lxml')
  for item in soup.select("a[href^='/questions/'].question-hyperlink"):
      print(item.get("href"))
  </code></pre>