Skip to content

lodemo/open_graph_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages