I use `EXTENSIONS` to add my own extensions as shown in http://doc.scrapy.org/en/latest/topics/extensions.html
But how can I access my own extension object in my spider? Here is one possible way: In spider class, `self.crawler.extentions.middlewares` contains a list of extension objects instantiated from settings.py (see https://github.com/scrapy/scrapy/blob/master/scrapy/middleware.py#L24). I may probably find my own extension object in the list. Is there a another graceful approach? -- You received this message because you are subscribed to the Google Groups "scrapy-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to scrapy-users+unsubscr...@googlegroups.com. To post to this group, send email to scrapy-users@googlegroups.com. Visit this group at http://groups.google.com/group/scrapy-users. For more options, visit https://groups.google.com/d/optout.