Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store Scrapy stats #32

Open
adilsoncarvalho opened this issue Nov 28, 2016 · 0 comments
Open

Store Scrapy stats #32

adilsoncarvalho opened this issue Nov 28, 2016 · 0 comments

Comments

@adilsoncarvalho
Copy link
Owner

Find a way to store the Scrapy stats (they're inside the log file)

Crawling stats as JSON metadata

{  
   "downloader/request_bytes":1364,
   "downloader/request_count":2,
   "downloader/request_method_count/GET":2,
   "downloader/response_bytes":33050,
   "downloader/response_count":2,
   "downloader/response_status_count/200":2,
   "finish_reason":"finished",
   "finish_time":"2016-11-28T21:16:39.194838",
   "httpcache/firsthand":2,
   "httpcache/miss":2,
   "httpcache/store":2,
   "item_scraped_count":1,
   "log_count/DEBUG":4,
   "log_count/INFO":8,
   "request_depth_max":1,
   "response_received_count":2,
   "scheduler/dequeued":2,
   "scheduler/dequeued/memory":2,
   "scheduler/enqueued":2,
   "scheduler/enqueued/memory":2,
   "start_time":"2016-11-28T21:16:38.344320"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant