title: Scrapy/Python getting items from yield requests
body: <p>I am trying to request multiple pages and store a returned variable from the callback into a list that will be used later in a future request.</p>
  
  <pre><code>def parse1(self,response):
      items.append(1)
  
  def parse2(self,response):
      items=[]
      urls=['https://www.example1.com','https://www.example2.com']
      for url in urls:
          yield Request(
              url,
              callback=self.parse1,
              dont_filter=True
          )
      print items
  </code></pre>
  
  <p>How can this be achieved?</p>
  
  <p>Metas don't help. They input not output values and I want to collect values from a loop of requests.</p>