diff --git a/docs/topics/request-response.rst b/docs/topics/request-response.rst index faead36be..d69ac27a3 100644 --- a/docs/topics/request-response.rst +++ b/docs/topics/request-response.rst @@ -238,11 +238,10 @@ FormRequest objects ------------------- The FormRequest class extends the base :class:`Request` with functionality for -dealing with HTML forms. It uses the `ClientForm`_ library (bundled with -Scrapy) to pre-populate form fields with form data from :class:`Response` -objects. +dealing with HTML forms. It uses `lxml.html forms`_ to pre-populate form +fields with form data from :class:`Response` objects. -.. _ClientForm: http://wwwsearch.sourceforge.net/ClientForm/ +.. _lxml.html forms: http://lxml.de/lxmlhtml.html#forms .. class:: FormRequest(url, [formdata, ...]) @@ -258,24 +257,23 @@ objects. The :class:`FormRequest` objects support the following class method in addition to the standard :class:`Request` methods: - .. classmethod:: FormRequest.from_response(response, [formname=None, formnumber=0, formdata=None, clickdata=None, dont_click=False, ...]) + .. classmethod:: FormRequest.from_response(response, [formname=None, formnumber=0, formdata=None, dont_click=False, ...]) Returns a new :class:`FormRequest` object with its form field values pre-populated with those found in the HTML ``