title: Combining and filtering two 'select' with BeautifulSoup, is it possible?
body: <p>here is my predicament:
  What I wanna do is to get newly posts in a table named "theme".</p>
  
  <p>this is what i have for new posts, new posts has a sticker:</p>
  
  <pre><code>new_posts = soup.select('tbody:has(.threadpages [src="images/new.gif"]), '
                          'tbody:has(.threadpages [src="images/new1.gif"]), '
                          'tbody:has(.threadpages [src="images/new2.gif"])')
  
  </code></pre>
  
  <p>this is what I have for the "theme" table:</p>
  
  <pre><code>theme_posts = soup.select('table:has(font:contains("theme")), '
  
  </code></pre>
  
  <p>is there a way I can combine both? I tried do table first, and then do new posts, it gives me Error saying </p>
  
  <pre><code>ResultSet object has no attribute '%s'. You're probably treating a list of elements like a single element. Did you call find_all() when you meant to call find()?" % key
  </code></pre>
  
  <p>can anyone help me out with it?</p>