metadata_fetch_plus library
This library provides two Metadata Parsers and two utility functions for retriveing and parsing documents from a url.
OpenGraphParser and HTMLMetaParser
are Metadata parsers that takes in a dom.Document
Utility functions extract
and responseToDocument
help retrieving and decoding documents.
Classes
- HtmlMetaParser
-
Takes a
http.document
and parses Metadata from<meta>, <title>, <img>
tags - JsonLdParser
-
Takes a
http.document
and parses Metadata fromjson-ld
data in<script>
- Metadata
- Container class for Metadata
- MetadataFetch
- MetadataParser
-
Does Works with
BaseMetadataParser
- OpenGraphParser
-
Takes a
http.Document
and parses Metadata from<meta property='og:*'>
tags - TwitterCardParser
-
Takes a
http.Document
and parses Metadata from<meta property='twitter:*'>
tags
Mixins
- BaseMetadataParser
- MetadataKeys
- The base class for implementing a parser