{"action":"created","issue":{"url":"https://api.github.com/repos/binux/pyspider/issues/79","labels_url":"https://api.github.com/repos/binux/pyspider/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/binux/pyspider/issues/79/comments","events_url":"https://api.github.com/repos/binux/pyspider/issues/79/events","html_url":"https://github.com/binux/pyspider/issues/79","id":54554988,"number":79,"title":"How to save result?","user":{"login":"manbuheiniu","id":7311683,"avatar_url":"https://avatars.githubusercontent.com/u/7311683?v=3","gravatar_id":"","url":"https://api.github.com/users/manbuheiniu","html_url":"https://github.com/manbuheiniu","followers_url":"https://api.github.com/users/manbuheiniu/followers","following_url":"https://api.github.com/users/manbuheiniu/following{/other_user}","gists_url":"https://api.github.com/users/manbuheiniu/gists{/gist_id}","starred_url":"https://api.github.com/users/manbuheiniu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manbuheiniu/subscriptions","organizations_url":"https://api.github.com/users/manbuheiniu/orgs","repos_url":"https://api.github.com/users/manbuheiniu/repos","events_url":"https://api.github.com/users/manbuheiniu/events{/privacy}","received_events_url":"https://api.github.com/users/manbuheiniu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-16T09:23:22Z","updated_at":"2015-01-19T07:55:00Z","closed_at":null,"body":"请问怎么把爬来的结果保存到数据库呢？正常来说是要把resultdb 指定成自己的数据库吗？我感觉这样做不太合理，我想单独再弄一个数据库来保存结果，不知道是不是应该这样。我想的是当resultdb保存成功后再自己的数据库里插入结果，这样能让爬取和应用程序的数据相对独立。请问应该怎么个流程呢？我看文档说把def on_result(self, result)覆盖了就不会再保存到resultdb里了，那应该怎么实现呢？"},"comment":{"url":"https://api.github.com/repos/binux/pyspider/issues/comments/70456892","html_url":"https://github.com/binux/pyspider/issues/79#issuecomment-70456892","issue_url":"https://api.github.com/repos/binux/pyspider/issues/79","id":70456892,"user":{"login":"manbuheiniu","id":7311683,"avatar_url":"https://avatars.githubusercontent.com/u/7311683?v=3","gravatar_id":"","url":"https://api.github.com/users/manbuheiniu","html_url":"https://github.com/manbuheiniu","followers_url":"https://api.github.com/users/manbuheiniu/followers","following_url":"https://api.github.com/users/manbuheiniu/following{/other_user}","gists_url":"https://api.github.com/users/manbuheiniu/gists{/gist_id}","starred_url":"https://api.github.com/users/manbuheiniu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manbuheiniu/subscriptions","organizations_url":"https://api.github.com/users/manbuheiniu/orgs","repos_url":"https://api.github.com/users/manbuheiniu/repos","events_url":"https://api.github.com/users/manbuheiniu/events{/privacy}","received_events_url":"https://api.github.com/users/manbuheiniu/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T07:55:00Z","updated_at":"2015-01-19T07:55:00Z","body":"原来是这样啊，谢谢"}}