meyt/linkpreview

JSON-LD support

ummjackson opened this issue · 0 comments

A lot of websites today include JSON-LD in the of their documents as a very rich source of metadata. This can be accessed with BS4 via:

soup.find('script', {'type':'application/ld+json'})

In addition to the methods already present in this library, have you considered adding grabbing the title, description, image etc. from the JSON-LD manifest?