module Extractor

Defined in:

extractor.cr
extractor/exceptions.cr
extractor/metadata_processor.cr
extractor/plugin_list.cr

Constant Summary

VERSION = "0.1.0"

Class Method Summary

Class Method Detail

def self.abort! #

Aborts metadata extraction.


[View source]
def self.extract(data : String, plugins = Extractor.plugins, &block : String, MetaType, MetaFormat, String, MetaData -> ) #

Extracts metadata from the given String.


[View source]
def self.extract_from(path : String | Path, plugins = Extractor.plugins, &block : String, MetaType, MetaFormat, String, MetaData -> ) #

Extracts metadata from a file.


[View source]
def self.plugins : PluginList #

The default list of plugins.


[View source]