max_pages and SAVED_JSON options added

This commit is contained in:
bendtherules
2014-05-11 19:55:41 +05:30
parent 5c334c2a08
commit 54f6a63230
6 changed files with 62 additions and 8 deletions
+2 -4
View File
@@ -1,7 +1,5 @@
Usage:
scrapy crawl get_lynda
scrapy crawl get_lynda [-a max_pages=10]
For saving to json:
scrapy crawl get_lynda -o output.json -t json
Saves to "output.json" by default ( Configurable as SAVED_JSON in settings.py)