2 distinct forms

17 views
Skip to first unread message

Cato Nano

unread,
May 27, 2017, 5:31:06 PM5/27/17
to scrapy-users
Hello,

I have this piece of code

    def start_requests(self):
        return [FormRequest(url="http://www.blahblah",
                            formdata={'citta':'Lucca'},
                            callback=self.resultList)]

but there are 2 distinct forms in my page

How do I instruct FormRequest to process the right one ?

Thanks in advance
Reply all
Reply to author
Forward
0 new messages