* added a new `_internal` storage namespace to the `MetadataParser.metadata` payload. this simply stashes the `MetadataParser.url` and `MetadataParser.url_actual` attributes to makes objects easier to encode for debugging * the twitter parsing was incorrectly looking for 'value' not 'content' as in the current spec * tracking the shortlink on a page
0.9.0
- This has a default behavior change regarding `get_discrete_url()` . - `is_parsed_valid_url()` did not correctly handle `require_public_netloc=True`, and would allow for `localhost` values to pass - new kwarg `allow_localhosts` added to * is_parsed_valid_url * is_url_valid * url_to_absolute_url * MetadataParser.__init__ * MetadataParser.absolute_url * MetadataParser.get_discrete_url * MetadataParser.get_metadata_link - new method `get_fallback_url` - `url_to_absolute_url` will return `None` if not supplied with a fallback and test url. Previously an error in parsing would occur - `url_to_absolute_url` tries to do a better job at determining the intended url when given a malformed url.
0.8.3
- packaging fixes
0.8.2
- incorporated fix in https://github.com/jvanasco/metadata_parser/pull/10 to handle windows support of socket objects - cleaned up some tests - added `encode_ascii` helper - added git-ignored `tests/private` directory for non-public tests - added an `encoder` argument to `get_metadata` for encoding values
0.8.1
added 2 new properties to a computed MetadataParser object: is_redirect = None is_redirect_same_host = None in the case of redirects, we only have the peername available for the final URL (not the source) if a response is a redirect, it may not be for the same host -- and the peername would correspond to the destination URL -- not the origin