ターミナルの「scrapy project folder」内からscrapy shellにアクセスしたいです。そして、私のプロジェクトで利用可能なすべてのスパイダーを一覧表示したいと考えています。また、個々のスパイダーを実行して、応答で遊ぶのも好きです。
スクレイピーシェルに入ると、次のオブジェクトを取得します:
[s] Available Scrapy objects:
[s] crawler <scrapy.crawler.Crawler object at 0x10b75cbd0>
[s] item {}
[s] settings <scrapy.settings.Settings object at 0x10cba1b90>
[s] Useful shortcuts:
[s] shelp() Shell help (print this help)
[s] fetch(req_or_url) Fetch request (or URL) and update local objects
[s] view(response) View response in a browser
私の最善の推測は、「クローラー」オブジェクトのメソッドを使用して、利用可能なスパイダーをリストすることです。しかし、私は運がありません。また、スパイダーをリストしたら実行する方法を教えてください。