Open blairg23 opened 8 years ago
same here
fixed by editing /usr/local/lib/python2.7/dist-packages/opengraph/opengraph.py be changing the line
doc = BeautifulSoup(html)
to
doc = BeautifulSoup(html, "lxml")
+1
Sometime you could have this error :
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?
To fix this issue :
pip install lxml
Holy crap, that was almost 3 years ago, how is this issue not closed yet?
4.5 years ago. I think that this codebase is deprecated. Better use: https://github.com/topicaxis/opengraph or: https://github.com/ji3g4m6zo6/opengraph_py3-0.71 or even: https://github.com/jvanasco/metadata_parser