Flask application initialization.

def init_app(self, app):
        """Flask application initialization."""
        self.init_config(app)
        app.extensions['inspire-crawler'] = self
        app.cli.add_command(crawler_cmd)