open_graph_parser 0.0.4 copy "open_graph_parser: ^0.0.4" to clipboard
open_graph_parser: ^0.0.4 copied to clipboard

outdated

An open graph parser for Dart.

Open Graph Parser #

A simple library parsing the open graph data of a given URL.

Usage example:

var data = await OpenGraphParser.getOpenGraphData("https://share.jodel.com/post?postId=5bbf7b84ee274646a2d96147&_branch_match_id=536882993144588943")

print(data['image']);

Result is: http://img.jodel.com/5bbf7b84ee274646a2d96147_pp4ELmdCl0PbKDNF_image.jpeg

Required values are at this moment title and image. If they are not present, this library tries to create a fallback using the title tag in head and the first image it can find in the body.

1
likes
25
pub points
0%
popularity

Publisher

unverified uploader

An open graph parser for Dart.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (LICENSE)

Dependencies

html, http

More

Packages that depend on open_graph_parser