@staticmethod
    def get(feature_name):
        """Returns the MetadataExtractor that can extract information about the
        provided feature name.

        Raises:
            UnsupportedFeature: If no extractor exists for the feature name.

        """
        implementations = MetadataExtractor.__find_implementations()
        try:
            return implementations[feature_name]
        except __HOLE__:
            raise UnsupportedFeatureException(
                'no MetadataExtractor registered for feature "{feature_name}" '
                '(try any of the following: {supported_features})'
                .format(feature_name=feature_name,
                        supported_features=', '.join(sorted(implementations))))
dataset/ETHPy150Open c-w/Gutenberg/gutenberg/query/api.py/MetadataExtractor.get