Skip to content

Error trying to get Entity even when it exists in wikidata #175

@appledora

Description

@appledora

I was trying to get the info in entity 'Minas Gerais' like following:

wd_page = wptools.page("Minas gerais")
try:
    wd_page.get_wikidata()
except LookupError as e:
    print(e)

The error gives me this link which tells that the item is missing.
However the item is actually present in wikidata pretty neatly here.

Is the issue is on the Mediawiki API end or some kind of malformed link within the library? How may I solve it? Any pointers would be appreciated.

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