title: Ebay Webscraper
body: <p>I'm trying to select just the sale price for each item listed but this is the closest I can get.</p>
  
  <pre><code> import requests
   from bs4 import BeautifulSoup
  
  url =  'http://www.ebay.co.uk/sch/i.html?_from=R40&amp;_sacat=0&amp;_nkw=graphics%20card&amp;LH_Complete=1&amp;LH_Sold=1&amp;rt=nc&amp;_trksid=p2045573.m1684'
  r = requests.get(url)
  soup = BeautifulSoup(r.content, 'html.parser')
  Sale_Price = [tag['class'] for tag in soup.find_all("span", class_="bold bidsold")]
  print(Sale_Price)
  </code></pre>
  
  <p>which gives me:
      [['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 
  'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold'], ['bold', 'bidsold']]</p>