{"action":"created","issue":{"url":"https://api.github.com/repos/scrapy/scrapy/issues/1523","labels_url":"https://api.github.com/repos/scrapy/scrapy/issues/1523/labels{/name}","comments_url":"https://api.github.com/repos/scrapy/scrapy/issues/1523/comments","events_url":"https://api.github.com/repos/scrapy/scrapy/issues/1523/events","html_url":"https://github.com/scrapy/scrapy/issues/1523","id":109619498,"number":1523,"title":"engine_started vs spider_opened","user":{"login":"kmike","id":107893,"avatar_url":"https://avatars.githubusercontent.com/u/107893?v=3","gravatar_id":"","url":"https://api.github.com/users/kmike","html_url":"https://github.com/kmike","followers_url":"https://api.github.com/users/kmike/followers","following_url":"https://api.github.com/users/kmike/following{/other_user}","gists_url":"https://api.github.com/users/kmike/gists{/gist_id}","starred_url":"https://api.github.com/users/kmike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmike/subscriptions","organizations_url":"https://api.github.com/users/kmike/orgs","repos_url":"https://api.github.com/users/kmike/repos","events_url":"https://api.github.com/users/kmike/events{/privacy}","received_events_url":"https://api.github.com/users/kmike/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-03T11:48:05Z","updated_at":"2015-12-09T11:29:36Z","closed_at":null,"body":"I think we should explain what is the difference between `engine_started` and `spider_opened` signals better. There is now one engine per spider, so these signals look very similar. To make things worse it is documented they can fire in any order:\r\n\r\n> This signal may be fired after the spider_opened signal, depending on how the spider was started. So don’t rely on this signal getting fired before spider_opened.\r\n\r\nI don't know what the difference is and when you want to use `engine_started` instead of `spider_opened` :) Any ideas?"},"comment":{"url":"https://api.github.com/repos/scrapy/scrapy/issues/comments/163194100","html_url":"https://github.com/scrapy/scrapy/issues/1523#issuecomment-163194100","issue_url":"https://api.github.com/repos/scrapy/scrapy/issues/1523","id":163194100,"user":{"login":"Digenis","id":2230180,"avatar_url":"https://avatars.githubusercontent.com/u/2230180?v=3","gravatar_id":"","url":"https://api.github.com/users/Digenis","html_url":"https://github.com/Digenis","followers_url":"https://api.github.com/users/Digenis/followers","following_url":"https://api.github.com/users/Digenis/following{/other_user}","gists_url":"https://api.github.com/users/Digenis/gists{/gist_id}","starred_url":"https://api.github.com/users/Digenis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Digenis/subscriptions","organizations_url":"https://api.github.com/users/Digenis/orgs","repos_url":"https://api.github.com/users/Digenis/repos","events_url":"https://api.github.com/users/Digenis/events{/privacy}","received_events_url":"https://api.github.com/users/Digenis/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T11:29:36Z","updated_at":"2015-12-09T11:29:36Z","body":"Also part of this ticket: `spider_closed` vs `engine_stopped`"}}