@classmethod
def get_metadata(cls):
    """Spider classes should override this method to return
        a dict represention of a JSON document which describes the
        spider.

        See the sample spiders for a broad variety of metadata
        examples.
        """
    fmt = "%s must implememt class method 'get_metadata()'"
    raise NotImplementedError(fmt % cls)
