opengraph icon indicating copy to clipboard operation
opengraph copied to clipboard

Not working in Python 3

Open Zerokami opened this issue 8 years ago • 3 comments

It works when I run with Python 2, but when I run with Python 3 I get the following error.

Traceback (most recent call last):
  File "og.py", line 9, in <module>
    import opengraph
  File "/usr/local/lib/python3.5/dist-packages/opengraph/__init__.py", line 1, in <module>
    from opengraph import OpenGraph

Zerokami avatar Dec 04 '17 04:12 Zerokami

This needs a new release, current code in master branch is working correctly. The 0.5 release doesn't have the fixes.

You can get by installing from current master checkout.

jjdelc avatar Mar 01 '18 06:03 jjdelc

seems like the author uploaded the python 3 version with another package name, it's on PyPI as opengraph_py3

pip install opengraph_py3

fixmycode avatar May 22 '18 22:05 fixmycode

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

advance512 avatar Jun 01 '20 15:06 advance512