I think what you're looking for is the meta dict:  
http://doc.scrapy.org/en/latest/topics/request-response.html#scrapy.http.Request.meta

You can store info in it that you can get out of it later.  So, don't 
declare the item class until the final page request, and before that do:

meta["names"] = xpath
meta["age"] = xpath

..so forth

Then in the request, just include the meta dict. 

request(url=url, callback=self.next_method, meta=meta)

There's some real-life examples out there if you google it up.

-- 
You received this message because you are subscribed to the Google Groups 
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to