Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work on Python3.8.5 #15

Open
Buster-2002 opened this issue Sep 29, 2020 · 2 comments
Open

Doesn't work on Python3.8.5 #15

Buster-2002 opened this issue Sep 29, 2020 · 2 comments
Assignees

Comments

@Buster-2002
Copy link

Following your example I wrote:

        import urbandict
        defs = urbandict.define(search)
        print(defs)
        # gives: [{'word': 'xterm', 'def': 'Godly', 'example': 'I wish', 'category': ''}]

and not the expected

[{'word': 'xterm', 'example': 'I wish i was an xterm', 'def': 'Godly creature, omnipotent, guru in every way imaginable.'}]
@novel novel self-assigned this Sep 30, 2020
@novel
Copy link
Owner

novel commented Sep 30, 2020

Hm, it doesn't seem the problem is related to the Python version, it looks like formatting was changed again.

@stck-lzm
Copy link

yeah, and I found the culprit I think....
whenever the handle_endtag function is defined, remove the 'a' tag in the if condition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants