goose3 / goose3

A Python 3 compatible version of goose http://goose3.readthedocs.io/en/latest/index.html
Apache License 2.0
807 stars 99 forks source link

Use a rdflib for OpenGraphProtocol and schema.org parsing #97

Open dlrobertson opened 5 years ago

dlrobertson commented 5 years ago

Summary

We be able to use rdflib + rdflib-jsonld as the parsers for the Open Graph Protocol and json-ld parsing. I have a WIP version of this here.

Pros & Cons

Pros

Cons

barrust commented 5 years ago

Would this also help resolve #91?

Would the added dependency restrict access to the library? I.e., would it work in all environments?

dlrobertson commented 5 years ago

Would this also help resolve #91?

Yes

would it work in all environments?

I wasn't able to find anything that would indicate otherwise.

After some more testing, I've unfortunately noticed several cases where it doesn't work too well (in my current implementation).