title: Scraping with scrapy
body: <p>I am trying to dig a little deeper with scrapy, but can only get the title of what i am scrapying and not any of the details.  Here is the code that I have so far:</p>
  
  <pre><code>from scrapy.spider import BaseSpider
  from scrapy.selector import HtmlXPathSelector
  from tcgplayer1.items import Tcgplayer1Item
  
  class MySpider(BaseSpider):
      name = "tcg"
      allowed_domains = ["http://www.tcgplayer.com/"]
      start_urls = ["http://store.tcgplayer.com/magic/journey-into-nyx?PageNumber=1"]
  
      def parse(self, response):
          hxs = HtmlXPathSelector(response)
          titles = hxs.select("//div[@class='magicCard']")
          vendor = hxs.select("//tr[@class='vendor']")
          items = []
  
          for titles in titles:
              item = Tcgplayer1Item()
              item ["cardname"] = titles.select("//li[@class='cardName']/a/text()").extract()
              item ["price"] = vendor.select("//td[@class='price']/br/text()").extract()
              item ["quantity"] = vendor.select("//td[@class='quantity']/td/text()").extract()
              items.append(item)
          return items
  </code></pre>
  
  <p>I cannot get the price and quantity to show any results.  Each card has several vendors each with their own prices and quantities.  I think that is where i am having problems.  Any help will be greatly appreciated. </p>