Skip to content
This repository was archived by the owner on Jan 25, 2025. It is now read-only.
This repository was archived by the owner on Jan 25, 2025. It is now read-only.

creating new object gives AttributeError: 'module' object has no attribute 'PyOpenGraph' #8

@dtenenba

Description

@dtenenba
import PyOpenGraph
og = PyOpenGraph("https://google.com")

Returns:

TypeError: 'module' object is not callable

This is with the latest version of PyOpenGraph pulled from Github today, and python 2.7.10, on Mac OS X 10.10.5.

Note that if I run python PyOpenGraph,py it does, work, printing out some page metadata, but if I put the above lines in a script or in the python (or ipython) console, I get the error above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions