{"action":"created","issue":{"url":"https://api.github.com/repos/istresearch/scrapy-cluster/issues/88","repository_url":"https://api.github.com/repos/istresearch/scrapy-cluster","labels_url":"https://api.github.com/repos/istresearch/scrapy-cluster/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/istresearch/scrapy-cluster/issues/88/comments","events_url":"https://api.github.com/repos/istresearch/scrapy-cluster/issues/88/events","html_url":"https://github.com/istresearch/scrapy-cluster/issues/88","id":193090138,"number":88,"title":"callback Issues","user":{"login":"rksaxena","id":5802062,"avatar_url":"https://avatars.githubusercontent.com/u/5802062?v=3","gravatar_id":"","url":"https://api.github.com/users/rksaxena","html_url":"https://github.com/rksaxena","followers_url":"https://api.github.com/users/rksaxena/followers","following_url":"https://api.github.com/users/rksaxena/following{/other_user}","gists_url":"https://api.github.com/users/rksaxena/gists{/gist_id}","starred_url":"https://api.github.com/users/rksaxena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rksaxena/subscriptions","organizations_url":"https://api.github.com/users/rksaxena/orgs","repos_url":"https://api.github.com/users/rksaxena/repos","events_url":"https://api.github.com/users/rksaxena/events{/privacy}","received_events_url":"https://api.github.com/users/rksaxena/received_events","type":"User","site_admin":false},"labels":[{"id":199686712,"url":"https://api.github.com/repos/istresearch/scrapy-cluster/labels/bug","name":"bug","color":"fc2929","default":true},{"id":233985931,"url":"https://api.github.com/repos/istresearch/scrapy-cluster/labels/crawler","name":"crawler","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-02T11:05:09Z","updated_at":"2016-12-03T21:13:22Z","closed_at":null,"body":"Firstly, thanks for a wonderful project. It is really helpful in scaling web crawling without much efforts.\r\nThe issue I am facing is that I am trying to add a callback function other than the `parse` method in `Request` object but on doing so, callback function is not getting called while parse() gets called everytime.\r\nSnippet.\r\n```\r\nreq = Request(url, callback=self.parse_contents)\r\nfor key in response.meta.keys():\r\n    req.meta[key] = response.meta[key]\r\nyield req\r\n```\r\nIf I move the `parse_contents` code within parse function, everything works fine but to do so I have to a couple of checks that I wish to avoid. So, is the callback function supposed to be only `parse` function or am I missing something."},"comment":{"url":"https://api.github.com/repos/istresearch/scrapy-cluster/issues/comments/264665871","html_url":"https://github.com/istresearch/scrapy-cluster/issues/88#issuecomment-264665871","issue_url":"https://api.github.com/repos/istresearch/scrapy-cluster/issues/88","id":264665871,"user":{"login":"madisonb","id":3504194,"avatar_url":"https://avatars.githubusercontent.com/u/3504194?v=3","gravatar_id":"","url":"https://api.github.com/users/madisonb","html_url":"https://github.com/madisonb","followers_url":"https://api.github.com/users/madisonb/followers","following_url":"https://api.github.com/users/madisonb/following{/other_user}","gists_url":"https://api.github.com/users/madisonb/gists{/gist_id}","starred_url":"https://api.github.com/users/madisonb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madisonb/subscriptions","organizations_url":"https://api.github.com/users/madisonb/orgs","repos_url":"https://api.github.com/users/madisonb/repos","events_url":"https://api.github.com/users/madisonb/events{/privacy}","received_events_url":"https://api.github.com/users/madisonb/received_events","type":"User","site_admin":false},"created_at":"2016-12-03T21:13:22Z","updated_at":"2016-12-03T21:13:22Z","body":"@rksaxena Please check the `dev` branch and associated docker containers for the update I just made. I created an simple spider that generated different requests with different callback methods and everything seems to work correctly. \r\n\r\nIf this solves your problem please close this!"}}
{"actor":{"display_login":"madisonb"}}