Update docs on view command

This commit is contained in:
Paul Tremberth 2017-01-30 15:57:37 +01:00
parent fc07711614
commit 4156a86148
1 changed files with 6 additions and 0 deletions

View File

@ -358,6 +358,12 @@ Opens the given URL in a browser, as your Scrapy spider would "see" it.
Sometimes spiders see pages differently from regular users, so this can be used
to check what the spider "sees" and confirm it's what you expect.
Supported options:
* ``--spider=SPIDER``: bypass spider autodetection and force use of specific spider
* ``--no-redirect``: do not follow HTTP 3xx redirects (default is to follow them)
Usage example::
$ scrapy view http://www.example.com/some/page.html