Packages

Krptkn, pronounced /kroh-pot-kin/, is a metadata extraction framework for websites. It contains a spider, metadata extractor, metadata analyzer and report generator.

Current section

Files

Jump to
extractor README.md
Raw

README.md

# Extractor
A simple Elixir metadata extractor for many types of files.
Implemented entirely as a [NIF][1] binding to the [libextractor][2] library.
Currently only working on linux. Should be easy to adapt to windows tho.
## Usage
```iex
iex> Extractor.extract(File.read!("a.jpg"))
{'gstreamer', 'pixel aspect ratio', 1, 'text/plain', '1/1'}
```
[1]: http://www.erlang.org/doc/tutorial/nif.html
[2]: https://www.gnu.org/software/libextractor/