title: scrapy, how to send multiple requests to a form
body: <p>I have working code here. I am sending 1 request to a form, and I am getting back all the data that I need. Code:</p>
  <pre><code> def start_requests(self):
      nubmers=&quot;12345&quot;
      submitForm = FormRequest(&quot;https://example.com/url&quot;,
                               formdata={'address':numbers,'submit':'Search'},
                               callback=self.after_submit)
      return [submitForm]
  </code></pre>
  <p>Now, I need to send multiple requests through the same form, and collect the data for each request. I need to collect the data for x numbers. I stored all numbers into a file:</p>
  <pre><code>   12345
     54644
     32145
     12345
  </code></pre>
  <p>code:</p>
  <pre><code>def start_requests(self):
      with open('C:\spiders\usps\zips.csv') as fp:
          for line in fp:
              submitForm = FormRequest(&quot;https://example.com/url&quot;,
                                  formdata={'address':line,
      'submit':'Search'},callback=self.after_submit,dont_filter=True)
      return [submitForm]
  </code></pre>
  <p>This code works, but it also collects data for the last entry in the file only. I need to collect the data for each row/number in the file. If I try yield instead, it returns scrapy, stops, and throws this error:</p>
  <pre><code>if not request.dont_filter and self.df.request_seen(request):
  exceptions.AttributeError: 'list' object has no attribute 'dont_filter'
  </code></pre>