-2
A
回答
3
我跑scrapy crawl -h
得到的選項:
--output=FILE, -o FILE dump scraped items into FILE (use - for stdout)
完整的幫助:
Run a spider
Options
=======
--help, -h show this help message and exit
-a NAME=VALUE set spider argument (may be repeated)
--output=FILE, -o FILE dump scraped items into FILE (use - for stdout)
--output-format=FORMAT, -t FORMAT
format to use for dumping items with -o
Global Options
--------------
--logfile=FILE log file. if omitted stderr will be used
--loglevel=LEVEL, -L LEVEL
log level (default: DEBUG)
--nolog disable logging completely
--profile=FILE write python cProfile stats to FILE
--lsprof=FILE write lsprof profiling stats to FILE
--pidfile=FILE write process ID to FILE
--set=NAME=VALUE, -s NAME=VALUE
set/override setting (may be repeated)
--pdb enable pdb on failure
+0
非常感謝! – Nazariy1995
相關問題
- 1. 有關Google Sitemap的簡單問題
- 2. 有關運算符||的簡單問題
- 3. 問題有關的簡單GIMP腳本
- 4. 有關UITableViewController的簡單問題
- 5. 有關Oracle索引簡單的問題
- 6. 有關jQuery選擇簡單的問題
- 7. 有關url的簡單問題
- 8. 有關C子串的簡單問題#
- 9. 簡單的JavaScript和(有點)cakephp問題
- 10. 簡單的關係問題
- 11. 關於Facebook評論插件的一個簡單問題
- 12. 通用控制 - 有關碼頭和錨點的簡單問題
- 13. 有關根節點的簡單XPath問題
- 14. 簡單的問題有關定義路徑
- 15. 包含.js腳本的簡單問題
- 16. 有關自定義php Ajax的理論問題MVC
- 17. Yii的簡單的關係問題
- 18. 有關獲取行和相關計數的簡單SQL問題
- 19. 關於CGRectIntersectsRect的簡單問題
- 20. 簡單的問題關於IF語句
- 21. 關於JTextArea的簡單問題
- 22. 關於聚合物的簡單問題
- 23. 關於LINQ的簡單問題
- 24. 關於ActiveRecord協會的簡單問題
- 25. 關於java的簡單問題SimpleDateFormat
- 26. 關於MVC的簡單問題
- 27. 關於指針的簡單問題
- 28. 簡單的Javascript關閉問題
- 29. 關於java同步的簡單問題
- 30. 一個簡單的問題關於iAd
'-o'通常是指保存在一個文件的輸出,它是後面的名字文件,即''items.json'。 –