Added FAQ entry about __VIEWSTATE parameter

This commit is contained in:
Pablo Hoffman 2010-09-06 13:17:08 -03:00
parent 3a72e5c051
commit 3c5ab10688
1 changed files with 10 additions and 0 deletions

View File

@ -203,3 +203,13 @@ To dump into a XML file::
scrapy crawl myspider --set FEED_URI=items.xml --set FEED_FORMAT=xml
For more information see :ref:`topics-feed-exports`
What's this huge cryptic ``__VIEWSTATE`` parameter used in some forms?
----------------------------------------------------------------------
The ``__VIEWSTATE`` parameter is used in sites built with ASP.NET/VB.NET. For
more info on how it works see `this page`_. Also, here's an `example spider`_
which scrapes one of these sites.
.. _this page: http://search.cpan.org/~ecarroll/HTML-TreeBuilderX-ASP_NET-0.09/lib/HTML/TreeBuilderX/ASP_NET.pm
.. _example spider: http://github.com/AmbientLighter/rpn-fas/blob/master/fas/spiders/rnp.py